Top Description Fields Constructors Methods
org.apache.tools.ant.taskdefs.optional.ccm

public Class CCMReconfigure

extends Continuus
Class Inheritance
Imports
org.apache.tools.ant.BuildException, org.apache.tools.ant.taskdefs.Execute, org.apache.tools.ant.types.Commandline

Task allows to reconfigure a project, recursively or not

Field Summary

Modifier and TypeField and Description
private String
public static final String
FLAG_PROJECT

/project flag -- target project

public static final String
FLAG_RECURSE

/recurse --

public static final String
FLAG_VERBOSE

/recurse --

private boolean
private boolean
Inherited from org.apache.tools.ant.taskdefs.optional.ccm.Continuus:
COMMAND_CHECKINCOMMAND_CHECKOUTCOMMAND_CREATE_TASKCOMMAND_DEFAULT_TASKCOMMAND_RECONFIGURE

Constructor Summary

AccessConstructor and Description
public
CCMReconfigure()

Constructor for CCMReconfigure.

Method Summary

Modifier and TypeMethod and Description
private void
checkOptions(Commandline cmd)

Check the command line options.

public void
execute()

Overrides org.apache.tools.ant.Task.execute.

Executes the task.
public String

Returns:

value of project.
getCcmProject
()

Get the value of project.

public boolean

Returns:

value of recurse.
isRecurse
()

Get the value of recurse.

public boolean

Returns:

value of verbose.
isVerbose
()

Get the value of verbose.

public void
setCcmProject(String
Value to assign to project.
v
)

Sets the ccm project on which the operation is applied.

public void
setRecurse(boolean
Value to assign to recurse.
v
)

If true, recurse on subproject (default false).

public void
setVerbose(boolean
Value to assign to verbose.
v
)

If true, do a verbose reconfigure operation (default false).

Inherited from org.apache.tools.ant.taskdefs.optional.ccm.Continuus:
getCcmActiongetCcmCommandrunrunsetCcmActionsetCcmDir

Field Detail

ccmProjectback to summary
private String ccmProject
FLAG_PROJECTback to summary
public static final String FLAG_PROJECT

/project flag -- target project

FLAG_RECURSEback to summary
public static final String FLAG_RECURSE

/recurse --

FLAG_VERBOSEback to summary
public static final String FLAG_VERBOSE

/recurse --

recurseback to summary
private boolean recurse
verboseback to summary
private boolean verbose

Constructor Detail

CCMReconfigureback to summary
public CCMReconfigure()

Constructor for CCMReconfigure.

Method Detail

checkOptionsback to summary
private void checkOptions(Commandline cmd)

Check the command line options.

executeback to summary
public void execute() throws BuildException

Overrides org.apache.tools.ant.Task.execute.

Executes the task.

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

Annotations
@Override
Exceptions
BuildException:
on error
getCcmProjectback to summary
public String getCcmProject()

Get the value of project.

Returns:String

value of project.

isRecurseback to summary
public boolean isRecurse()

Get the value of recurse.

Returns:boolean

value of recurse.

isVerboseback to summary
public boolean isVerbose()

Get the value of verbose.

Returns:boolean

value of verbose.

setCcmProjectback to summary
public void setCcmProject(String v)

Sets the ccm project on which the operation is applied.

Parameters
v:String

Value to assign to project.

setRecurseback to summary
public void setRecurse(boolean v)

If true, recurse on subproject (default false).

Parameters
v:boolean

Value to assign to recurse.

setVerboseback to summary
public void setVerbose(boolean v)

If true, do a verbose reconfigure operation (default false).

Parameters
v:boolean

Value to assign to verbose.