org.apache.tools.ant.taskdefs.optional.ccm

Class CCMReconfigure

public class CCMReconfigure extends Continuus

Task allows to reconfigure a project, recursively or not
Field Summary
static StringFLAG_PROJECT
/project flag -- target project
static StringFLAG_RECURSE
/recurse --
static StringFLAG_VERBOSE
/recurse --
Constructor Summary
CCMReconfigure()
Constructor for CCMReconfigure.
Method Summary
voidexecute()
Executes the task.
StringgetCcmProject()
Get the value of project.
booleanisRecurse()
Get the value of recurse.
booleanisVerbose()
Get the value of verbose.
voidsetCcmProject(String v)
Sets the ccm project on which the operation is applied.
voidsetRecurse(boolean v)
If true, recurse on subproject (default false).
voidsetVerbose(boolean v)
If true, do a verbose reconfigure operation (default false).

Field Detail

FLAG_PROJECT

public static final String FLAG_PROJECT
/project flag -- target project

FLAG_RECURSE

public static final String FLAG_RECURSE
/recurse --

FLAG_VERBOSE

public static final String FLAG_VERBOSE
/recurse --

Constructor Detail

CCMReconfigure

public CCMReconfigure()
Constructor for CCMReconfigure.

Method Detail

execute

public void execute()
Executes the task.

Builds a command line to execute ccm and then calls Exec's run method to execute the command line.

Throws: BuildException on error

getCcmProject

public String getCcmProject()
Get the value of project.

Returns: value of project.

isRecurse

public boolean isRecurse()
Get the value of recurse.

Returns: value of recurse.

isVerbose

public boolean isVerbose()
Get the value of verbose.

Returns: value of verbose.

setCcmProject

public void setCcmProject(String v)
Sets the ccm project on which the operation is applied.

Parameters: v Value to assign to project.

setRecurse

public void setRecurse(boolean v)
If true, recurse on subproject (default false).

Parameters: v Value to assign to recurse.

setVerbose

public void setVerbose(boolean v)
If true, do a verbose reconfigure operation (default false).

Parameters: v Value to assign to verbose.