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 java.lang.String |
COMMAND_CHECKIN
The 'Checkin' command
|
static java.lang.String |
COMMAND_CHECKOUT
The 'Checkout' command
|
static java.lang.String |
COMMAND_CREATE_TASK
The 'CreateTask' command
|
static java.lang.String |
COMMAND_DEFAULT_TASK
The 'Reconfigure' command
|
static java.lang.String |
COMMAND_RECONFIGURE
The 'Reconfigure' command
|
description, location, project
Constructor and Description |
---|
Continuus() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCcmAction()
Get the value of ccmAction.
|
protected java.lang.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(java.lang.String v)
Set the value of ccmAction.
|
void |
setCcmDir(java.lang.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 java.lang.String COMMAND_CREATE_TASK
public static final java.lang.String COMMAND_CHECKOUT
public static final java.lang.String COMMAND_CHECKIN
public static final java.lang.String COMMAND_RECONFIGURE
public static final java.lang.String COMMAND_DEFAULT_TASK
public java.lang.String getCcmAction()
public void setCcmAction(java.lang.String v)
v
- Value to assign to ccmAction.public final void setCcmDir(java.lang.String dir)
dir
- the directory containing the ccm executableprotected final java.lang.String getCcmCommand()
protected int run(Commandline cmd, ExecuteStreamHandler handler)
cmd
- the command linehandler
- an execute stream handlerprotected int run(Commandline cmd)
cmd
- the command line