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 java.lang.Integer |
removedBy |
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.
|
java.lang.Integer |
getRemovedBy()
Get the ID of the user that removed 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 |
setRemovedBy(java.lang.Integer removedBy)
Set the ID of the user that removed this item or null
to restore the 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 java.lang.Integer removedBy
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 java.lang.Integer getRemovedBy()
RemovableData
getRemovedBy
in interface RemovableData
public void setRemovedBy(java.lang.Integer removedBy)
RemovableData
setRemovedBy
in interface RemovableData
public 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)