org.java.plugin.tools.ant
public class PluginInfoTask extends org.apache.tools.ant.Task
Inspired by Sebastian Kopsan.
Constructor and Description |
---|
PluginInfoTask() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
void |
setManifest(java.io.File aManifest) |
void |
setPropertyId(java.lang.String propertyName) |
void |
setPropertyMatchingRule(java.lang.String propertyName) |
void |
setPropertyPluginId(java.lang.String propertyName) |
void |
setPropertyPluginVersion(java.lang.String propertyName) |
void |
setPropertyVendor(java.lang.String propertyName) |
void |
setPropertyVersion(java.lang.String propertyName) |
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
public void setManifest(java.io.File aManifest)
aManifest
- plug-in manifest to read data frompublic void setPropertyId(java.lang.String propertyName)
propertyName
- name of the property to read plug-in or plug-in
fragment ID inManifestInfo.getId()
public void setPropertyVersion(java.lang.String propertyName)
propertyName
- name of the property to read plug-in or plug-in
fragment version inManifestInfo.getVersion()
public void setPropertyVendor(java.lang.String propertyName)
propertyName
- name of the property to read plug-in or plug-in
fragment vendor inManifestInfo.getVendor()
public void setPropertyPluginId(java.lang.String propertyName)
propertyName
- name of the property to read plug-in ID inManifestInfo.getPluginId()
public void setPropertyPluginVersion(java.lang.String propertyName)
propertyName
- name of the property to read plug-in version inManifestInfo.getPluginVersion()
public void setPropertyMatchingRule(java.lang.String propertyName)
propertyName
- name of the property to read plug-in fragment
matching rule inManifestInfo.getMatchingRule()
public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
Task.execute()
Copyright © 2004-2007 Dmitry Olshansky. All Rights Reserved.