Xindice API
version 1.1

org.apache.xindice.tools
Class DeploymentTask

java.lang.Object
  extended by Task
      extended by org.apache.xindice.tools.DeploymentTask

public class DeploymentTask
extends Task

Handles basic deployment of Xindice services using ant.

Version:
$Revision: 511426 $, $Date: 2007-02-25 04:25:02 +0100 (Sun, 25 Feb 2007) $
Author:
Kimbro Staken

Constructor Summary
DeploymentTask()
          Constructor for creating a new DeploymentTask.
 
Method Summary
 void execute()
          Executes the task.
 void setActivity(String name)
          Sets the Activity attribute of the DeploymentTask object
 void setClass(String name)
          Sets the Implementation class attribute of the DeploymentTask object
 void setCollection(String name)
          Sets the Collection attribute of the DeploymentTask object
 void setDatabase(String name)
          Sets the Database attribute of the DeploymentTask object
 void setHome(String name)
          Sets the Home attribute of the DeploymentTask object
 void setName(String name)
          Sets the Name to use for the document or XMLObject.
 void setPath(String name)
          Sets the Path attribute of the DeploymentTask object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeploymentTask

public DeploymentTask()
Constructor for creating a new DeploymentTask.

Method Detail

setName

public void setName(String name)
Sets the Name to use for the document or XMLObject. This method always sets both documentName and Name on the admin object

Parameters:
name - The new Name value

setHome

public void setHome(String name)
Sets the Home attribute of the DeploymentTask object

Parameters:
name - The new Home value

setPath

public void setPath(String name)
Sets the Path attribute of the DeploymentTask object

Parameters:
name - The new Path value

setCollection

public void setCollection(String name)
Sets the Collection attribute of the DeploymentTask object

Parameters:
name - The new Collection value

setDatabase

public void setDatabase(String name)
Sets the Database attribute of the DeploymentTask object

Parameters:
name - The new Database value

setActivity

public void setActivity(String name)
Sets the Activity attribute of the DeploymentTask object

Parameters:
name - The new Activity value

setClass

public void setClass(String name)
Sets the Implementation class attribute of the DeploymentTask object

Parameters:
name - The new Activity value

execute

public void execute()
             throws BuildException
Executes the task.

Throws:
BuildException - Description of Exception

Xindice API
version 1.1

Copyright (c) 1999-2007 The Apache Software Foundation. All Rights Reserved.