Package org.apache.tools.ant.util.facade
Class ImplementationSpecificArgument
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.types.Commandline.Argument
org.apache.tools.ant.util.facade.ImplementationSpecificArgument
- All Implemented Interfaces:
- Cloneable
- Direct Known Subclasses:
- Javac.ImplementationSpecificArgument,- Rmic.ImplementationSpecificArgument
Extension of Commandline.Argument with a new attribute that chooses
 a specific implementation of the facade.
- Since:
- Ant 1.5
- 
Field SummaryFields inherited from class org.apache.tools.ant.ProjectComponentdescription, location, project
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfinal String[]Return the parts this Argument consists of, if the implementation matches the chosen implementation.voidsetImplementation(String impl) Set the implementation this argument is for.Methods inherited from class org.apache.tools.ant.types.Commandline.ArgumentcopyFrom, getParts, setFile, setLine, setPath, setPathref, setPrefix, setSuffix, setValueMethods inherited from class org.apache.tools.ant.ProjectComponentclone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
- 
Constructor Details- 
ImplementationSpecificArgumentpublic ImplementationSpecificArgument()
 
- 
- 
Method Details- 
setImplementationSet the implementation this argument is for.- Parameters:
- impl- the implementation this command line argument is for.
 
- 
getPartsReturn the parts this Argument consists of, if the implementation matches the chosen implementation.- Parameters:
- chosenImpl- the implementation to check against.
- Returns:
- the parts if the implementation matches or an zero length array if not.
- See Also:
 
 
-