| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.ant.dotnet.compile.DotnetDefine
public class DotnetDefine
definitions can be conditional. What .NET conditions can not be is in any state other than defined and undefined; you cannot give a definition a value.
| Constructor Summary | |
|---|---|
| DotnetDefine() | |
| Method Summary | |
|---|---|
|  java.lang.String | getName() | 
|  java.lang.String | getValue(org.apache.tools.ant.Task owner)This method gets the value of this definition. | 
|  boolean | isSet(org.apache.tools.ant.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. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public DotnetDefine()
| Method Detail | 
|---|
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 - 
public java.lang.String getValue(org.apache.tools.ant.Task owner)
                          throws org.apache.tools.ant.BuildException
owner - owning task
org.apache.tools.ant.BuildExceptionpublic boolean isSet(org.apache.tools.ant.Task owner)
owner - 
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||