public class CommandLineArgument
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
CommandLineArgument.LocationEnum
Enumerated attribute with the values "start", "mid" and "end",
|
Constructor and Description |
---|
CommandLineArgument() |
Modifier and Type | Method and Description |
---|---|
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.
|
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)
Copyright ? 2001-2015 Ant-Contrib project. All Rights Reserved.