Xindice API
version 1.1

org.apache.xindice.tools
Class DeploymentTask

java.lang.Object
  |
  +--org.apache.tools.ant.ProjectComponent
        |
        +--org.apache.tools.ant.Task
              |
              +--org.apache.xindice.tools.DeploymentTask

public class DeploymentTask
extends org.apache.tools.ant.Task

Handles basic deployment of Xindice services using ant.

Version:
$Revision: 511426 $, $Date: 2007-02-24 22:25:02 -0500 (Sat, 24 Feb 2007) $
Author:
Kimbro Staken

Fields inherited from class org.apache.tools.ant.Task
description, location, target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
project
 
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 org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getProject, setProject
 
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 org.apache.tools.ant.BuildException
Executes the task.
Overrides:
execute in class org.apache.tools.ant.Task
Throws:
org.apache.tools.ant.BuildException - Description of Exception

Xindice API
version 1.1

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