|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.ant4eclipse.model.pdesupport.plugin.PluginDescriptor
public class PluginDescriptor
Encapsulates the description of a plugin.
Field Summary | |
---|---|
static java.lang.String |
FRAGMENT_ATTACHMENT_ALWAYS
FRAGMENT_ATTACHMENT_ALWAYS |
static java.lang.String |
FRAGMENT_ATTACHMENT_NEVER
FRAGMENT_ATTACHMENT_NEVER |
static java.lang.String |
FRAGMENT_ATTACHMENT_RESOLVE_TIME
FRAGMENT_ATTACHMENT_RESOLVE_TIME |
Constructor Summary | |
---|---|
PluginDescriptor(EclipseProject eclipseProject)
Creates a new instance of type PluginDescriptor. |
|
PluginDescriptor(java.io.File pluginSource)
Creates a new instance of type PluginDescriptor. |
Method Summary | |
---|---|
java.lang.String |
getActivator()
Returns the activator. |
java.lang.String[] |
getClasspathEntries()
Returns the classpath entries of the plugin. |
EclipseProject |
getEclipseProject()
Returns the eclipse project that represents this plugin (may null). |
java.lang.String |
getFragmentAttachment()
Returns how fragment attachments should be handled. |
java.lang.String |
getLocalization()
Returns the localization. |
java.lang.String |
getName()
Return the name of the plugin (not the symbolic name!). |
java.lang.String |
getPluginID()
Returns the plugin ID which is desired by this fragment. |
java.io.File |
getPluginSource()
Returns the file or directory that represents the plugin (may null). |
Version |
getPluginVersion()
Returns the version of the plugin required by this fragment. |
RequiredPlugin[] |
getRequiredPlugins()
Returns an array of the specified required plugins. |
java.lang.String |
getSymbolicName()
Returns the symbolic name. |
java.lang.String |
getVendor()
Returns the vendor of the plugin. |
Version |
getVersion()
Returns the version of the plugin. |
boolean |
hasClasspathEntries()
Returns whether the plugin has classpath entries. |
boolean |
hasRequiredPlugins()
Returns whether the plugin has required plugins. |
boolean |
hasSymbolicName(java.lang.String symbolicName)
Returns whether or not the plugin has the specified symbolic name. |
boolean |
isAutoStart()
Returns whether or not the plugin should start automaticly. |
boolean |
isEclipseProject()
Returns whether or not the plugin is an eclipse project. |
boolean |
isFragment()
Return whether or not the plugin is a fragment. |
boolean |
isPluginDirectory()
Returns whether or not the plugin is an plugin directory. |
boolean |
isPluginJar()
Returns whether or not the plugin is an plugin jarfile. |
boolean |
isSingleton()
Return whether or not the plugin is a singleton. |
boolean |
isSystemBundle()
Returns whether the bundle is the system bundle ("system.bundle") or not. |
void |
setSystemBundle(boolean isSystemBundle)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static java.lang.String FRAGMENT_ATTACHMENT_ALWAYS
public static java.lang.String FRAGMENT_ATTACHMENT_NEVER
public static java.lang.String FRAGMENT_ATTACHMENT_RESOLVE_TIME
Constructor Detail |
---|
public PluginDescriptor(java.io.File pluginSource)
pluginSource
- the file or directory that represents the plugin.public PluginDescriptor(EclipseProject eclipseProject)
eclipseProject
- the eclipse project that represents this plugin.Method Detail |
---|
public boolean isEclipseProject()
public boolean isPluginDirectory()
public boolean isPluginJar()
public java.io.File getPluginSource()
public EclipseProject getEclipseProject()
public java.lang.String getFragmentAttachment()
public java.lang.String getActivator()
public java.lang.String getPluginID()
public java.lang.String getSymbolicName()
public boolean hasSymbolicName(java.lang.String symbolicName)
symbolicName
- the symbolic name.
public boolean isAutoStart()
public boolean isFragment()
public boolean isSingleton()
public java.lang.String getLocalization()
public java.lang.String getName()
public RequiredPlugin[] getRequiredPlugins()
public boolean hasRequiredPlugins()
public java.lang.String[] getClasspathEntries()
public boolean hasClasspathEntries()
public java.lang.String getVendor()
public Version getVersion()
public Version getPluginVersion()
public boolean isSystemBundle()
public java.lang.String toString()
toString
in class java.lang.Object
public void setSystemBundle(boolean isSystemBundle)
isSystemBundle
- The isSystemBundle to set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |