Rmic.ImplementationSpecificArgument (Apache Ant API)
Date: 2021-07-10

org.apache.tools.ant.taskdefs

## 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:
    java.lang.Cloneable
  Enclosing class:
    Rmic

      public class Rmic.ImplementationSpecificArgument
      extends ImplementationSpecificArgument

  Adds an "compiler" attribute to Commandline$Attribute used to filter command line attributes based on the current implementation.

- - ### Field Summary

    - ### Fields inherited from class org.apache.tools.ant.ProjectComponent

      `description, location, project`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ImplementationSpecificArgument()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `setCompiler(java.lang.String impl)` Only pass the specified argument if the chosen compiler implementation matches the value of this attribute.

    - ### Methods inherited from class org.apache.tools.ant.util.facade.ImplementationSpecificArgument

      `getParts, setImplementation`

    - ### Methods inherited from class org.apache.tools.ant.types.Commandline.Argument

      `copyFrom, getParts, setFile, setLine, setPath, setPathref, setPrefix, setSuffix, setValue`

    - ### Methods inherited from class org.apache.tools.ant.ProjectComponent

      `clone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject`

    - ### Methods inherited from class java.lang.Object

      `equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ImplementationSpecificArgument

          public ImplementationSpecificArgument()

  - ### Method Detail

    - #### setCompiler

          public void setCompiler(java.lang.String impl)

      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.