public class CommandLineArgument extends 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() |
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(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(String propName)
Set the property name for the 'unless' condition.
|
void |
setValue(String value)
Specifies the string that should appear on the command line.
|
public int getLocation()
public String getValue()
public boolean isActive(org.apache.tools.ant.Project p)
public void setIf(String propName)
public void setLocation(CommandLineArgument.LocationEnum location)
public void setUnless(String propName)
propName
- name of propertypublic void setValue(String value)
Copyright © 2005-2016 NAR Maven Plugin developers. All Rights Reserved.