Class Provider

java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.types.spi.Provider
All Implemented Interfaces:
java.lang.Cloneable

public class Provider
extends ProjectComponent
ANT Jar-Task SPI extension This class corresponds to the nested element <provider type="type"> in the <service type=""> nested element of the jar task.
See Also:
https://issues.apache.org/bugzilla/show_bug.cgi?id=31520
  • Constructor Details

  • Method Details

    • getClassName

      public java.lang.String getClassName()
      Returns:
      the class name for
    • setClassName

      public void setClassName​(java.lang.String type)
      Set the provider classname.
      Parameters:
      type - the value to set.
    • check

      public void check()
      Check if the component has been configured correctly.