Class Rmic.ImplementationSpecificArgument
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.types.Commandline.Argument
org.apache.tools.ant.util.facade.ImplementationSpecificArgument
org.apache.tools.ant.taskdefs.Rmic.ImplementationSpecificArgument
- All Implemented Interfaces:
Cloneable
- Enclosing class:
Rmic
Adds an "compiler" attribute to Commandline$Attribute used to
filter command line attributes based on the current
implementation.
- Since:
- Ant 1.1
-
Field Summary
Fields inherited from class ProjectComponent
description, location, project -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetCompiler(String impl) Only pass the specified argument if the chosen compiler implementation matches the value of this attribute.Methods inherited from class ImplementationSpecificArgument
getParts, setImplementationModifier 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 Commandline.Argument
copyFrom, getParts, setFile, setLine, setPath, setPathref, setPrefix, setSuffix, setValueModifier and TypeMethodDescriptionvoidcopyFrom(Commandline.Argument other) Copies settings from a different argument.String[]getParts()Return the constituent parts of this Argument.voidSet a single commandline argument to the absolute filename of the given file.voidSet the line to split into several commandline arguments.voidSet a single commandline argument and treats it like a PATH--ensuring the right separator for the local platform is used.voidsetPathref(Reference value) Set a single commandline argument from a reference to a path--ensuring the right separator for the local platform is used.voidSet the prefix to be placed in front of every part of the argument.voidSet the suffix to be placed at the end of every part of the argument.voidSet a single commandline argument.Methods inherited from class ProjectComponent
clone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProjectModifier and TypeMethodDescriptionclone()Returns the description of the current action.Returns the file/location where this task was defined.Returns the project to which this component belongs.voidLogs a message with the default (INFO) priority.voidLogs a message with the given priority.voidsetDescription(String desc) Sets a description of the current action.voidsetLocation(Location location) Sets the file/location where this task was defined.voidsetProject(Project project) Sets the project object of this component.
-
Constructor Details
-
ImplementationSpecificArgument
public ImplementationSpecificArgument()
-
-
Method Details
-
setCompiler
Only pass the specified argument if the chosen compiler implementation matches the value of this attribute. Legal values are the same as those in the above list of valid compilers.)- Parameters:
impl- the compiler to be used.
-