public class DotnetDefine
extends java.lang.Object
| Constructor and Description |
|---|
DotnetDefine() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Get the name of the definition.
|
java.lang.String |
getValue(Task owner)
This method gets the value of this definition.
|
boolean |
isSet(Task owner)
logic taken from patternset
|
void |
setIf(java.lang.String condition)
the name of a property which must be defined for
the definition to be set.
|
void |
setName(java.lang.String name)
the name of the definition.
|
void |
setUnless(java.lang.String condition)
the name of a property which must be undefined for
the definition to be set.
|
public void setIf(java.lang.String condition)
condition - the name of the propertypublic void setUnless(java.lang.String condition)
condition - the name of the propertypublic java.lang.String getName()
public void setName(java.lang.String name)
name - the name value.public java.lang.String getValue(Task owner) throws BuildException
owner - owning taskBuildException - if there is an error.public boolean isSet(Task owner)
owner - the owning task.