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

Class CCMReconfigure

Implemented Interfaces:
Cloneable

public class CCMReconfigure
extends Continuus

Task allows to reconfigure a project, recursively or not

Field Summary

static String
FLAG_PROJECT
/project flag -- target project
static String
FLAG_RECURSE
/recurse --
static 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.
String
getCcmProject()
Get the value of project.
boolean
isRecurse()
Get the value of recurse.
boolean
isVerbose()
Get the value of verbose.
void
setCcmProject(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, execute, 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, log, log, setDescription, setLocation, setProject

Field Details

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 Details

CCMReconfigure

public CCMReconfigure()
Constructor for CCMReconfigure.

Method Details

execute

public void execute()
            throws BuildException
Executes the task.

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

Overrides:
execute in interface Task
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.