public class PluginTypeData extends BasicData implements NameableData, RemovableData, RegisteredData
PluginType
,
Developer documentation: Plug-ins, jobs and job agentsModifier and Type | Field and Description |
---|---|
private java.lang.String |
description |
private java.util.Date |
entryDate |
private java.lang.String |
interfaceName |
private java.lang.String |
jarFile |
static int |
MAX_INTERFACENAME_LENGTH
The maximum length of the interface name that can be stored in the
database.
|
static int |
MAX_JARFILE_LENGTH |
private java.lang.String |
name |
private java.util.Set<PluginDefinitionData> |
plugins |
private boolean |
removed |
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH
Constructor and Description |
---|
PluginTypeData() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Get the description for the item.
|
java.util.Date |
getEntryDate()
Get the date this item was added to the database.
|
java.lang.String |
getInterfaceName()
Get the interface name a plugin must implement to be of this type.
|
java.lang.String |
getJarFile()
Get the file name of the JAR file where the plugin class is located.
|
java.lang.String |
getName()
Get the name of the item.
|
(package private) java.util.Set<PluginDefinitionData> |
getPlugins()
The plugin implementing this interface.
|
boolean |
isRemoved()
Check if the removed flag is set for this item.
|
void |
setDescription(java.lang.String description)
Set the description for the item.
|
void |
setEntryDate(java.util.Date entryDate) |
void |
setInterfaceName(java.lang.String interfaceName) |
void |
setJarFile(java.lang.String jarFile) |
void |
setName(java.lang.String name)
Set the name of the item.
|
(package private) void |
setPlugins(java.util.Set<PluginDefinitionData> plugins) |
void |
setRemoved(boolean removed)
Set the removed flag for this item.
|
equals, getId, getVersion, hashCode, setId, setVersion, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getId, getVersion
private java.lang.String name
private java.lang.String description
private boolean removed
private java.util.Date entryDate
public static final int MAX_INTERFACENAME_LENGTH
private java.lang.String interfaceName
public static final int MAX_JARFILE_LENGTH
private java.lang.String jarFile
private java.util.Set<PluginDefinitionData> plugins
public java.lang.String getName()
NameableData
getName
in interface NameableData
String
with the name of the itempublic void setName(java.lang.String name)
NameableData
MAX_NAME_LENGTH
constant.setName
in interface NameableData
name
- The new name for the itempublic java.lang.String getDescription()
NameableData
getDescription
in interface NameableData
String
with a description of the itempublic void setDescription(java.lang.String description)
NameableData
MAX_DESCRIPTION_LENGTH
constant.setDescription
in interface NameableData
description
- The new description for the itempublic boolean isRemoved()
RemovableData
isRemoved
in interface RemovableData
public void setRemoved(boolean removed)
RemovableData
setRemoved
in interface RemovableData
removed
- TRUE if the item should be flagged as removed,
FALSE otherwisepublic java.util.Date getEntryDate()
RegisteredData
getEntryDate
in interface RegisteredData
public void setEntryDate(java.util.Date entryDate)
public java.lang.String getInterfaceName()
Plugin
interface.public void setInterfaceName(java.lang.String interfaceName)
public java.lang.String getJarFile()
public void setJarFile(java.lang.String jarFile)
java.util.Set<PluginDefinitionData> getPlugins()
PluginDefinitionData.getPluginTypes()
void setPlugins(java.util.Set<PluginDefinitionData> plugins)