|
JPF 1.5.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.java.plugin.tools.ant.PluginInfoTask
public class PluginInfoTask
Simple task to read some data from plug-in manifest into project properties.
Inspired by Sebastian Kopsan.
| Field Summary |
|---|
| Fields inherited from class org.apache.tools.ant.Task |
|---|
description, location, target, taskName, taskType, wrapper |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
|---|
project |
| Constructor Summary | |
|---|---|
PluginInfoTask()
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class org.apache.tools.ant.Task |
|---|
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
|---|
getProject, setProject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PluginInfoTask()
| Method Detail |
|---|
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.Taskorg.apache.tools.ant.BuildExceptionTask.execute()
|
JPF 1.5.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||