public class UndefineArgument extends Object
Modifier | Constructor and Description |
---|---|
|
UndefineArgument() |
protected |
UndefineArgument(boolean isDefine) |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
String |
getName()
Returns the name of the define
|
String |
getValue()
Returns the value of the define
|
boolean |
isActive(org.apache.tools.ant.Project p)
Returns true if the define's if and unless conditions (if any) are
satisfied.
|
boolean |
isDefine()
Returns true if this is a define, false if an undefine.
|
static UndefineArgument[] |
merge(UndefineArgument[] base,
UndefineArgument[] override)
This method returns an array of UndefineArgument and DefineArgument's by
merging a base list with an override list.
|
void |
setIf(String propName)
Sets the property name for the 'if' condition.
|
void |
setName(String name)
Set the name attribute
|
void |
setUnless(String propName)
Set the property name for the 'unless' condition.
|
public UndefineArgument()
protected UndefineArgument(boolean isDefine)
public static UndefineArgument[] merge(UndefineArgument[] base, UndefineArgument[] override)
public void execute() throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
public final String getName()
public String getValue()
public final boolean isActive(org.apache.tools.ant.Project p) throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
- throws build exception if name is not setpublic final boolean isDefine()
public final void setIf(String propName)
propName
- property namepublic final void setName(String name)
public final void setUnless(String propName)
propName
- name of propertyCopyright © 2005-2016 NAR Maven Plugin developers. All Rights Reserved.