org.apache.tools.ant.util.facade
Class ImplementationSpecificArgument
- Cloneable
public class ImplementationSpecificArgument
Extension of Commandline.Argument with a new attribute that choses
a specific implementation of the facade.
String[] | getParts(String chosenImpl) - Return the parts this Argument consists of, if the
implementation matches the chosen implementation.
|
void | setImplementation(String impl) - Set the implementation this argument is for.
|
ImplementationSpecificArgument
public ImplementationSpecificArgument()
Constructor for ImplementationSpecificArgument.
getParts
public final String[] getParts(String chosenImpl)
Return the parts this Argument consists of, if the
implementation matches the chosen implementation.
chosenImpl
- the implementation to check against.
- the parts if the implemention matches or an zero length
array if not.
setImplementation
public void setImplementation(String impl)
Set the implementation this argument is for.
impl
- the implementation this command line argument is for.