org.apache.tools.ant.taskdefs.optional.ccm
Class Continuus
java.lang.Object
|
+--org.apache.tools.ant.ProjectComponent
|
+--org.apache.tools.ant.Task
|
+--org.apache.tools.ant.taskdefs.optional.ccm.Continuus
- 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.
- Author:
- Benoit Moussaud benoit.moussaud@criltelecom.com
Methods inherited from class org.apache.tools.ant.Task |
execute, getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorOutput, handleOutput, init, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMMAND_CREATE_TASK
public static final java.lang.String COMMAND_CREATE_TASK
- The 'CreateTask' command
COMMAND_CHECKOUT
public static final java.lang.String COMMAND_CHECKOUT
- The 'Checkout' command
COMMAND_CHECKIN
public static final java.lang.String COMMAND_CHECKIN
- The 'Checkin' command
COMMAND_RECONFIGURE
public static final java.lang.String COMMAND_RECONFIGURE
- The 'Reconfigure' command
COMMAND_DEFAULT_TASK
public static final java.lang.String COMMAND_DEFAULT_TASK
- The 'Reconfigure' command
Continuus
public Continuus()
getCcmAction
public java.lang.String getCcmAction()
- Get the value of ccmAction.
- Returns:
- value of ccmAction.
setCcmAction
public void setCcmAction(java.lang.String v)
- Set the value of ccmAction.
- Parameters:
v
- Value to assign to ccmAction.
setCcmDir
public final void setCcmDir(java.lang.String dir)
- Set the directory where the ccm executable is located
- Parameters:
dir
- the directory containing the ccm executable
getCcmCommand
protected final java.lang.String getCcmCommand()
- Builds and returns the command string to execute ccm
- Returns:
- String containing path to the executable
run
protected int run(Commandline cmd,
ExecuteStreamHandler handler)
run
protected int run(Commandline cmd)
Copyright © 1999-2001 Apache Software Foundation. All Rights Reserved.