|
Last update: 2011-06-23 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.proteios.core.data.BasicData
org.proteios.core.data.OwnedData
org.proteios.core.data.SharedData
org.proteios.core.data.PluginDefinitionData
public class PluginDefinitionData
This class represent an installed plugin.
PluginDefinition,
Plugins| Field Summary | |
|---|---|
static int |
MAX_CLASSNAME_LENGTH
The maximum length of the class name that can be stored in the database. |
static int |
MAX_CONTACT_LENGTH
The maximum length of the contact information that can be stored in the database. |
static int |
MAX_COPYRIGHT_LENGTH
The maximum length of the copyright notice that can be stored in the database. |
static int |
MAX_DESCRIPTION_LENGTH
The maximum length of the url that can be stored in the database. |
static int |
MAX_EMAIL_LENGTH
The maximum length of the email address that can be stored in the database. |
static int |
MAX_JARPATH_LENGTH
|
static int |
MAX_NAME_LENGTH
The maximum length of the name that can be stored in the database. |
static int |
MAX_PLUGIN_VERSION_LENGTH
The maximum length of the plugin version that can be stored in the database. |
static int |
MAX_URL_LENGTH
The maximum length of the url that can be stored in the database. |
| Constructor Summary | |
|---|---|
PluginDefinitionData()
|
|
| Method Summary | |
|---|---|
String |
getClassName()
Get the class name of the Java class that implements this plugin. |
String |
getContact()
Get contact information for the plugin. |
String |
getCopyright()
Get a copyright notice for the plugin. |
String |
getDescription()
Get a description of the plugin. |
String |
getEmail()
Get an email address that can be used to get more information about the plugin. |
Set<GuiContextData> |
getGuiContexts()
The item code for all items where it makes sense to use the plugin in a client application. |
String |
getJarPath()
Get the path to the JAR file where the plugin class is located. |
int |
getMainType()
Get the main type of plugin. |
String |
getName()
Get the name of the plugin. |
Set<PluginTypeData> |
getPluginTypes()
The plugin types of this plugin, ie. all interfaces that it implements. |
String |
getPluginVersion()
Get the plugin version. |
String |
getUrl()
Get a URL with more information about the plugin. |
boolean |
isInteractive()
If the plugin is interactive or not. |
boolean |
isRemoved()
Check if the removed flag is set for this item. |
void |
setClassName(String className)
|
void |
setContact(String contact)
|
void |
setCopyright(String copyright)
|
void |
setDescription(String description)
|
void |
setEmail(String email)
|
void |
setInteractive(boolean interactive)
|
void |
setJarPath(String jarPath)
|
void |
setMainType(int mainType)
|
void |
setName(String name)
|
void |
setPluginVersion(String pluginVersion)
|
void |
setRemoved(boolean removed)
Set the removed flag for this item. |
void |
setUrl(String url)
|
| Methods inherited from class org.proteios.core.data.SharedData |
|---|
getItemKey, getProjectKey, setItemKey, setProjectKey |
| Methods inherited from class org.proteios.core.data.OwnedData |
|---|
getOwner, setOwner |
| Methods inherited from class org.proteios.core.data.BasicData |
|---|
equals, getId, getVersion, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.proteios.core.data.IdentifiableData |
|---|
getId, getVersion |
| Methods inherited from interface org.proteios.core.data.OwnableData |
|---|
getOwner, setOwner |
| Field Detail |
|---|
public static final int MAX_CLASSNAME_LENGTH
public static final int MAX_JARPATH_LENGTH
public static final int MAX_NAME_LENGTH
public static final int MAX_PLUGIN_VERSION_LENGTH
public static final int MAX_DESCRIPTION_LENGTH
public static final int MAX_COPYRIGHT_LENGTH
public static final int MAX_CONTACT_LENGTH
public static final int MAX_EMAIL_LENGTH
public static final int MAX_URL_LENGTH
| Constructor Detail |
|---|
public PluginDefinitionData()
| Method Detail |
|---|
public boolean isRemoved()
RemovableData
isRemoved in interface RemovableDatapublic void setRemoved(boolean removed)
RemovableData
setRemoved in interface RemovableDataremoved - TRUE if the item should be flagged as removed,
FALSE otherwisepublic String getClassName()
Plugin interface.
public void setClassName(String className)
public String getJarPath()
public void setJarPath(String jarPath)
public String getName()
public void setName(String name)
public String getPluginVersion()
public void setPluginVersion(String pluginVersion)
public String getDescription()
public void setDescription(String description)
public String getCopyright()
public void setCopyright(String copyright)
public String getContact()
public void setContact(String contact)
public String getEmail()
public void setEmail(String email)
public String getUrl()
public void setUrl(String url)
public int getMainType()
Plugin.MainType.public void setMainType(int mainType)
public boolean isInteractive()
public void setInteractive(boolean interactive)
public Set<GuiContextData> getGuiContexts()
public Set<PluginTypeData> getPluginTypes()
|
Last update: 2011-06-23 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||