public abstract class Continuus extends Task
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.
Modifier and Type | Field and Description |
---|---|
static String |
COMMAND_CHECKIN
The 'Checkin' command
|
static String |
COMMAND_CHECKOUT
The 'Checkout' command
|
static String |
COMMAND_CREATE_TASK
The 'CreateTask' command
|
static String |
COMMAND_DEFAULT_TASK
The 'Reconfigure' command
|
static String |
COMMAND_RECONFIGURE
The 'Reconfigure' command
|
Constructor and Description |
---|
Continuus() |
Modifier and Type | Method and Description |
---|---|
String |
getCcmAction()
Get the value of ccmAction.
|
protected String |
getCcmCommand()
Builds and returns the command string to execute ccm
|
protected int |
run(Commandline cmd)
Run the command.
|
protected int |
run(Commandline cmd,
ExecuteStreamHandler handler)
Run the command.
|
void |
setCcmAction(String v)
Set the value of ccmAction.
|
void |
setCcmDir(String dir)
Set the directory where the ccm executable is located.
|
bindToOwner, execute, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
public static final String COMMAND_CHECKIN
public static final String COMMAND_CHECKOUT
public static final String COMMAND_CREATE_TASK
public static final String COMMAND_DEFAULT_TASK
public static final String COMMAND_RECONFIGURE
public String getCcmAction()
protected final String getCcmCommand()
protected int run(Commandline cmd)
cmd
- the command lineprotected int run(Commandline cmd, ExecuteStreamHandler handler)
cmd
- the command linehandler
- an execute stream handlerpublic void setCcmAction(String v)
v
- Value to assign to ccmAction.public final void setCcmDir(String dir)
dir
- the directory containing the ccm executable