org.apache.tools.ant.util.facade
public class FacadeTaskHelper extends Object
Since: Ant 1.5
Constructor Summary | |
---|---|
FacadeTaskHelper(String defaultValue) | |
FacadeTaskHelper(String defaultValue, String magicValue) |
Method Summary | |
---|---|
void | addImplementationArgument(ImplementationSpecificArgument arg)
Command line argument. |
String[] | getArgs()
Retrieves the command line arguments enabled for the current
facade implementation. |
String | getExplicitChoice()
Retrieves the explicit user choice. |
String | getImplementation()
Retrieves the implementation. |
Path | getImplementationClasspath(Project project)
The classpath to use when loading the implementation.
|
boolean | hasBeenSet()
Tests whether the implementation has been chosen by the user
(either via a magic property or explicitly. |
void | setImplementation(String userChoice)
Used for explicit user choices. |
void | setMagicValue(String magicValue)
Used to set the value of the magic property. |
Parameters: defaultValue The default value for the implementation. Must not be null.
Parameters: defaultValue The default value for the implementation. Must not be null. magicValue the value of a magic property that may hold a user. choice. May be null.
Parameters: arg an argument to add.
Returns: an array of command line arguements.
Returns: the explicit user choice.
Returns: the implementation.
Parameters: project the current project
Returns: a Path instance that may be appended to
Since: Ant 1.8.0
Returns: true if magic or user choice has be set.
Since: Ant 1.5.2
Parameters: userChoice the explicitly chosen implementation.
Parameters: magicValue the value of a magic property that may hold a user.