|
|||||||||
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 org.apache.tools.ant.taskdefs.optional.ccm.CCMReconfigure
public class CCMReconfigure
Task allows to reconfigure a project, recursively or not
Field Summary | |
---|---|
static java.lang.String |
FLAG_PROJECT
/project flag -- target project |
static java.lang.String |
FLAG_RECURSE
/recurse -- |
static java.lang.String |
FLAG_VERBOSE
/recurse -- |
Fields inherited from class org.apache.tools.ant.taskdefs.optional.ccm.Continuus |
---|
COMMAND_CHECKIN, COMMAND_CHECKOUT, COMMAND_CREATE_TASK, COMMAND_DEFAULT_TASK, COMMAND_RECONFIGURE |
Fields inherited from class org.apache.tools.ant.Task |
---|
target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
---|
description, location, project |
Constructor Summary | |
---|---|
CCMReconfigure()
Constructor for CCMReconfigure. |
Method Summary | |
---|---|
void |
execute()
Executes the task. |
java.lang.String |
getCcmProject()
Get the value of project. |
boolean |
isRecurse()
Get the value of recurse. |
boolean |
isVerbose()
Get the value of verbose. |
void |
setCcmProject(java.lang.String v)
Sets the ccm project on which the operation is applied. |
void |
setRecurse(boolean v)
If true, recurse on subproject (default false). |
void |
setVerbose(boolean v)
If true, do a verbose reconfigure operation (default false). |
Methods inherited from class org.apache.tools.ant.taskdefs.optional.ccm.Continuus |
---|
getCcmAction, getCcmCommand, run, run, setCcmAction, setCcmDir |
Methods inherited from class org.apache.tools.ant.Task |
---|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
---|
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String FLAG_RECURSE
public static final java.lang.String FLAG_VERBOSE
public static final java.lang.String FLAG_PROJECT
Constructor Detail |
---|
public CCMReconfigure()
Method Detail |
---|
public void execute() throws BuildException
Builds a command line to execute ccm and then calls Exec's run method to execute the command line.
execute
in class Task
BuildException
- on errorpublic java.lang.String getCcmProject()
public void setCcmProject(java.lang.String v)
v
- Value to assign to project.public boolean isRecurse()
public void setRecurse(boolean v)
v
- Value to assign to recurse.public boolean isVerbose()
public void setVerbose(boolean v)
v
- Value to assign to verbose.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |