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:
- Cloneable
- Direct Known Subclasses:
- CCMCheck,- CCMCreateTask,- CCMReconfigure
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 SummaryFieldsModifier and TypeFieldDescriptionstatic final StringThe 'Checkin' commandstatic final StringThe 'Checkout' commandstatic final StringThe 'CreateTask' commandstatic final StringThe 'Reconfigure' commandstatic final StringThe 'Reconfigure' commandFields inherited from class org.apache.tools.ant.ProjectComponentdescription, location, project
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionGet the value of ccmAction.protected final StringBuilds and returns the command string to execute ccmprotected intrun(Commandline cmd) Run the command.protected intrun(Commandline cmd, ExecuteStreamHandler handler) Run the command.voidSet the value of ccmAction.final voidSet 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, setTaskTypeMethods inherited from class org.apache.tools.ant.ProjectComponentclone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
- 
Field Details- 
COMMAND_CREATE_TASKThe 'CreateTask' command- See Also:
 
- 
COMMAND_CHECKOUTThe 'Checkout' command- See Also:
 
- 
COMMAND_CHECKINThe 'Checkin' command- See Also:
 
- 
COMMAND_RECONFIGUREThe 'Reconfigure' command- See Also:
 
- 
COMMAND_DEFAULT_TASKThe 'Reconfigure' command- See Also:
 
 
- 
- 
Constructor Details- 
Continuuspublic Continuus()
 
- 
- 
Method Details- 
getCcmActionGet the value of ccmAction.- Returns:
- value of ccmAction.
 
- 
setCcmActionSet the value of ccmAction.- Parameters:
- v- Value to assign to ccmAction.
 
- 
setCcmDirSet the directory where the ccm executable is located.- Parameters:
- dir- the directory containing the ccm executable
 
- 
getCcmCommandBuilds and returns the command string to execute ccm- Returns:
- String containing path to the executable
 
- 
runRun the command.- Parameters:
- cmd- the command line
- handler- an execute stream handler
- Returns:
- the exit status of the command
 
- 
runRun the command.- Parameters:
- cmd- the command line
- Returns:
- the exit status of the command
 
 
-