Xindice API
version 1.2m1

org.apache.xindice.tools
Class DeploymentTask

java.lang.Object
  extended byorg.apache.tools.ant.ProjectComponent
      extended byorg.apache.tools.ant.Task
          extended byorg.apache.xindice.tools.DeploymentTask

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

Handles basic deployment of Xindice services using ant.

Version:
$Revision: 578602 $, $Date: 2007-09-23 16:33:31 -0400 (Sun, 23 Sep 2007) $
Author:
Kimbro Staken

Field Summary
 
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 setAction(String action)
          Sets the action name to be performed.
 void setActivity(String name)
          Deprecated.  
 void setCollection(String context)
          Sets collection context.
 void setFiler(String filer)
          Sets the filer to use for the collection.
 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 collection.
 void setPageCount(String pageCount)
          Sets the page count attribute for collection.
 void setPageSize(String pageSize)
          Sets the page size attribute for collection.
 void setPath(String name)
          Sets the Path attribute of the DeploymentTask object
 void setPattern(String pattern)
          Sets index pattern.
 void setType(String type)
          Sets index type.
 
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

setAction

public void setAction(String action)
Sets the action name to be performed.

Parameters:
action - The name of the action

setCollection

public void setCollection(String context)
Sets collection context.

Parameters:
context - Target collection URL

setName

public void setName(String name)
Sets the Name to use for the document or collection.

Parameters:
name - The new Name value

setFiler

public void setFiler(String filer)
Sets the filer to use for the collection.

Parameters:
filer - The new Name value

setPageSize

public void setPageSize(String pageSize)
Sets the page size attribute for collection.

Parameters:
pageSize - The new Name value

setPageCount

public void setPageCount(String pageCount)
Sets the page count attribute for collection.

Parameters:
pageCount - The new Name value

setPattern

public void setPattern(String pattern)
Sets index pattern.

Parameters:
pattern - The new Name value

setType

public void setType(String type)
Sets index type.

Parameters:
type - 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

setActivity

public void setActivity(String name)
Deprecated.  

Sets the Activity attribute of the DeploymentTask object

Parameters:
name - The new Activity value

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Executes the task.

Throws:
org.apache.tools.ant.BuildException - Description of Exception

Xindice API
version 1.2m1

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