|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.antcontrib.cpptasks.types.CommandLineArgument
public class CommandLineArgument
An compiler/linker command line flag.
| Nested Class Summary | |
|---|---|
static class |
CommandLineArgument.LocationEnum
Enumerated attribute with the values "start", "mid" and "end", |
| Constructor Summary | |
|---|---|
CommandLineArgument()
|
|
| Method Summary | |
|---|---|
int |
getLocation()
|
java.lang.String |
getValue()
|
boolean |
isActive(org.apache.tools.ant.Project p)
Returns true if the define's if and unless conditions (if any) are satisfied. |
void |
setIf(java.lang.String propName)
Sets the property name for the 'if' condition. |
void |
setLocation(CommandLineArgument.LocationEnum location)
Specifies relative location of argument on command line. |
void |
setUnless(java.lang.String propName)
Set the property name for the 'unless' condition. |
void |
setValue(java.lang.String value)
Specifies the string that should appear on the command line. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CommandLineArgument()
| Method Detail |
|---|
public int getLocation()
public java.lang.String getValue()
public boolean isActive(org.apache.tools.ant.Project p)
public void setIf(java.lang.String propName)
public void setLocation(CommandLineArgument.LocationEnum location)
public void setUnless(java.lang.String propName)
propName - name of propertypublic void setValue(java.lang.String value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||