Class Provider
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.types.spi.Provider
- All Implemented Interfaces:
Cloneable
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:
-
Field Summary
Fields inherited from class ProjectComponent
description, location, project -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheck()Check if the component has been configured correctly.voidsetClassName(String type) Set the provider classname.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
-
Provider
public Provider()
-
-
Method Details
-
getClassName
- Returns:
- the class name for
-
setClassName
Set the provider classname.- Parameters:
type- the value to set.
-
check
public void check()Check if the component has been configured correctly.
-