public class PluginTypeData extends BasicData implements NameableData, RemovableData, RegisteredData
PluginType
,
Developer documentation: Plug-ins, jobs and job agentsModifier and Type | Field and Description |
---|---|
private String |
description |
private Date |
entryDate |
private String |
interfaceName |
private 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 String |
name |
private Set<PluginDefinitionData> |
plugins |
private Integer |
removedBy |
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH
Constructor and Description |
---|
PluginTypeData() |
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Get the description for the item.
|
Date |
getEntryDate()
Get the date this item was added to the database.
|
String |
getInterfaceName()
Get the interface name a plugin must implement to be of this type.
|
String |
getJarFile()
Get the file name of the JAR file where the plugin class is located.
|
String |
getName()
Get the name of the item.
|
(package private) Set<PluginDefinitionData> |
getPlugins()
The plugin implementing this interface.
|
Integer |
getRemovedBy()
Get the ID of the user that removed this item.
|
void |
setDescription(String description)
Set the description for the item.
|
void |
setEntryDate(Date entryDate) |
void |
setInterfaceName(String interfaceName) |
void |
setJarFile(String jarFile) |
void |
setName(String name)
Set the name of the item.
|
(package private) void |
setPlugins(Set<PluginDefinitionData> plugins) |
void |
setRemovedBy(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 String name
private String description
private Integer removedBy
private Date entryDate
public static final int MAX_INTERFACENAME_LENGTH
private String interfaceName
public static final int MAX_JARFILE_LENGTH
private String jarFile
private Set<PluginDefinitionData> plugins
public String getName()
NameableData
getName
in interface NameableData
String
with the name of the itempublic void setName(String name)
NameableData
MAX_NAME_LENGTH
constant.setName
in interface NameableData
name
- The new name for the itempublic String getDescription()
NameableData
getDescription
in interface NameableData
String
with a description of the itempublic void setDescription(String description)
NameableData
MAX_DESCRIPTION_LENGTH
constant.setDescription
in interface NameableData
description
- The new description for the itempublic Integer getRemovedBy()
RemovableData
getRemovedBy
in interface RemovableData
public void setRemovedBy(Integer removedBy)
RemovableData
setRemovedBy
in interface RemovableData
public Date getEntryDate()
RegisteredData
getEntryDate
in interface RegisteredData
public void setEntryDate(Date entryDate)
public String getInterfaceName()
Plugin
interface.public void setInterfaceName(String interfaceName)
public String getJarFile()
public void setJarFile(String jarFile)
Set<PluginDefinitionData> getPlugins()
PluginDefinitionData.getPluginTypes()
void setPlugins(Set<PluginDefinitionData> plugins)