Class Continuus
- java.lang.Object
- 
- org.apache.tools.ant.ProjectComponent
- 
- org.apache.tools.ant.Task
- 
- org.apache.tools.ant.taskdefs.optional.ccm.Continuus
 
 
 
- 
- All Implemented Interfaces:
- java.lang.Cloneable
 - Direct Known Subclasses:
- CCMCheck,- CCMCreateTask,- CCMReconfigure
 
 public abstract class Continuus extends Task A base class for creating tasks for executing commands on Continuus 5.1.The class extends the task as it operates by executing the ccm.exe program supplied with Continuus/Synergy. By default the task expects the ccm executable to be in the path, you can override this be specifying the ccmdir attribute. 
- 
- 
Field SummaryFields Modifier and Type Field Description static java.lang.StringCOMMAND_CHECKINThe 'Checkin' commandstatic java.lang.StringCOMMAND_CHECKOUTThe 'Checkout' commandstatic java.lang.StringCOMMAND_CREATE_TASKThe 'CreateTask' commandstatic java.lang.StringCOMMAND_DEFAULT_TASKThe 'Reconfigure' commandstatic java.lang.StringCOMMAND_RECONFIGUREThe 'Reconfigure' command- 
Fields inherited from class org.apache.tools.ant.ProjectComponentdescription, location, project
 
- 
 - 
Constructor SummaryConstructors Constructor Description Continuus()
 - 
Method SummaryModifier and Type Method Description java.lang.StringgetCcmAction()Get the value of ccmAction.protected java.lang.StringgetCcmCommand()Builds and returns the command string to execute ccmprotected intrun(Commandline cmd)Run the command.protected intrun(Commandline cmd, ExecuteStreamHandler handler)Run the command.voidsetCcmAction(java.lang.String v)Set the value of ccmAction.voidsetCcmDir(java.lang.String dir)Set the directory where the ccm executable is located.- 
Methods inherited from class org.apache.tools.ant.TaskbindToOwner, execute, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 - 
Methods inherited from class org.apache.tools.ant.ProjectComponentclone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
 
- 
 
- 
- 
- 
Field Detail- 
COMMAND_CREATE_TASKpublic static final java.lang.String COMMAND_CREATE_TASK The 'CreateTask' command- See Also:
- Constant Field Values
 
 - 
COMMAND_CHECKOUTpublic static final java.lang.String COMMAND_CHECKOUT The 'Checkout' command- See Also:
- Constant Field Values
 
 - 
COMMAND_CHECKINpublic static final java.lang.String COMMAND_CHECKIN The 'Checkin' command- See Also:
- Constant Field Values
 
 - 
COMMAND_RECONFIGUREpublic static final java.lang.String COMMAND_RECONFIGURE The 'Reconfigure' command- See Also:
- Constant Field Values
 
 - 
COMMAND_DEFAULT_TASKpublic static final java.lang.String COMMAND_DEFAULT_TASK The 'Reconfigure' command- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getCcmActionpublic java.lang.String getCcmAction() Get the value of ccmAction.- Returns:
- value of ccmAction.
 
 - 
setCcmActionpublic void setCcmAction(java.lang.String v) Set the value of ccmAction.- Parameters:
- v- Value to assign to ccmAction.
 
 - 
setCcmDirpublic final void setCcmDir(java.lang.String dir) Set the directory where the ccm executable is located.- Parameters:
- dir- the directory containing the ccm executable
 
 - 
getCcmCommandprotected final java.lang.String getCcmCommand() Builds and returns the command string to execute ccm- Returns:
- String containing path to the executable
 
 - 
runprotected int run(Commandline cmd, ExecuteStreamHandler handler) Run the command.- Parameters:
- cmd- the command line
- handler- an execute stream handler
- Returns:
- the exit status of the command
 
 - 
runprotected int run(Commandline cmd) Run the command.- Parameters:
- cmd- the command line
- Returns:
- the exit status of the command
 
 
- 
 
-