|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.tools.ant.ProjectComponent | +--org.apache.tools.ant.Task | +--org.apache.tools.ant.taskdefs.optional.ccm.Continuus
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 Summary | |
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 |
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 | |
Continuus()
|
Method Summary | |
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)
|
protected int |
run(Commandline cmd,
ExecuteStreamHandler handler)
|
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. |
Methods inherited from class org.apache.tools.ant.Task |
execute, getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorOutput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName |
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 |
Field Detail |
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
Constructor Detail |
public Continuus()
Method Detail |
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)
protected int run(Commandline cmd)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |