|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ace.mws.plugins.PluginInstance
class PluginInstance
This class represents a configured plugin created from a plugin type.
Field Summary | |
---|---|
private Boolean |
autoStart
Whether the plugin should start automatically when created. |
private Map |
config
(Map of String => Object) The configuration of the plugin. |
private Date |
dateCreated
The date that this plugin was created. |
private String |
id
Unique identifier for the plugin. |
private Date |
lastPollDate
The date of the last polling event that occurred. |
private Date |
lastUpdated
The date that this plugin was last updated. |
private Date |
nextPollDate
The date of the next polling event that is scheduled to occur. |
private String |
pluginType
The plugin name as in Native or Example for the plugin called ExamplePlugin. |
private Integer |
pollInterval
The polling interval to use for the plugin in seconds. |
private Long |
precedence
The precedence of this plugin, with the lowest value being the highest precedence. |
private PluginState |
state
The current state of the plugin. |
Constructor Summary | |
PluginInstance()
|
Method Summary | |
---|---|
Boolean
|
getAutoStart()
Whether the plugin should start automatically when created. |
Map
|
getConfig()
(Map of String => Object) The configuration of the plugin. |
Date
|
getDateCreated()
The date that this plugin was created. |
String
|
getId()
Unique identifier for the plugin. |
Date
|
getLastPollDate()
The date of the last polling event that occurred. |
Date
|
getLastUpdated()
The date that this plugin was last updated. |
Date
|
getNextPollDate()
The date of the next polling event that is scheduled to occur. |
String
|
getPluginType()
The plugin name as in Native or Example for the plugin called ExamplePlugin. |
Integer
|
getPollInterval()
The polling interval to use for the plugin in seconds. |
Long
|
getPrecedence()
The precedence of this plugin, with the lowest value being the highest precedence. |
PluginState
|
getState()
The current state of the plugin. |
void
|
setAutoStart(Boolean autoStart)
Whether the plugin should start automatically when created. |
void
|
setConfig(Map config)
(Map of String => Object) The configuration of the plugin. |
void
|
setDateCreated(Date dateCreated)
The date that this plugin was created. |
void
|
setId(String id)
Unique identifier for the plugin. |
void
|
setLastPollDate(Date lastPollDate)
The date of the last polling event that occurred. |
void
|
setLastUpdated(Date lastUpdated)
The date that this plugin was last updated. |
void
|
setNextPollDate(Date nextPollDate)
The date of the next polling event that is scheduled to occur. |
void
|
setPluginType(String pluginType)
The plugin name as in Native or Example for the plugin called ExamplePlugin. |
void
|
setPollInterval(Integer pollInterval)
The polling interval to use for the plugin in seconds. |
void
|
setPrecedence(Long precedence)
The precedence of this plugin, with the lowest value being the highest precedence. |
void
|
setState(PluginState state)
The current state of the plugin. |
String
|
toString()
|
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Field Detail |
---|
private Boolean autoStart
private Map config
private Date dateCreated
private String id
private Date lastPollDate
private Date lastUpdated
private Date nextPollDate
private String pluginType
private Integer pollInterval
private Long precedence
If not specified during creation, this will be automatically set to 1 for the first plugin created, then 1 greater for each subsequently created plugin (i.e. 1 for plugin1, 2 for plugin2, etc). It is always set to 1 greater than the plugin with the greatest precedence number (i.e. 11 if two plugins exist with precedence 1 and 10).
private PluginState state
Constructor Detail |
---|
PluginInstance()
Method Detail |
---|
Boolean getAutoStart()
Map getConfig()
Date getDateCreated()
String getId()
Date getLastPollDate()
Date getLastUpdated()
Date getNextPollDate()
String getPluginType()
Integer getPollInterval()
Long getPrecedence()
If not specified during creation, this will be automatically set to 1 for the first plugin created, then 1 greater for each subsequently created plugin (i.e. 1 for plugin1, 2 for plugin2, etc). It is always set to 1 greater than the plugin with the greatest precedence number (i.e. 11 if two plugins exist with precedence 1 and 10).
PluginState getState()
void setAutoStart(Boolean autoStart)
void setConfig(Map config)
void setDateCreated(Date dateCreated)
void setId(String id)
void setLastPollDate(Date lastPollDate)
void setLastUpdated(Date lastUpdated)
void setNextPollDate(Date nextPollDate)
void setPluginType(String pluginType)
void setPollInterval(Integer pollInterval)
void setPrecedence(Long precedence)
If not specified during creation, this will be automatically set to 1 for the first plugin created, then 1 greater for each subsequently created plugin (i.e. 1 for plugin1, 2 for plugin2, etc). It is always set to 1 greater than the plugin with the greatest precedence number (i.e. 11 if two plugins exist with precedence 1 and 10).
void setState(PluginState state)
String toString()
Groovy Documentation