Helper class for facade implementations - encapsulates treatment of
explicit implementation choices, magic properties and
implementation specific command line arguments.
since: Ant 1.5
Parameters: defaultValue - The default value for the implementation.Must not be null. Parameters: magicValue - the value of a magic property that may hold a user.choice.
Parameters: defaultValue - The default value for the implementation.Must not be null. Parameters: magicValue - the value of a magic property that may hold a user.choice. May be null.
Tests whether the implementation has been chosen by the user
(either via a magic property or explicitly.
true if magic or user choice has be set. since: Ant 1.5.2
setImplementation
public void setImplementation(String userChoice)(Code)
Used for explicit user choices.
Parameters: userChoice - the explicitly chosen implementation.
setMagicValue
public void setMagicValue(String magicValue)(Code)
Used to set the value of the magic property.
Parameters: magicValue - the value of a magic property that may hold a user.