Groovy Documentation

com.ace.mws.plugins
[Groovy] Class PluginInstance

java.lang.Object
  com.ace.mws.plugins.PluginInstance

class PluginInstance

This class represents a configured plugin instance.


Field Summary
private Boolean autoStart

Whether the plugin should start automatically when configured.

private Map config

(Map of String => Object) The arbitrary configuration of the plugin

private String id

Unique identifier for the plugin.

private String pluginType

The plugin type of the instance.

private Integer pollInterval

The poll interval in seconds

private static long serialVersionUID

private PluginState state

The current state of the plugin.

 
Constructor Summary
PluginInstance()

 
Method Summary
Boolean getAutoStart()

Whether the plugin should start automatically when configured.

Map getConfig()

(Map of String => Object) The arbitrary configuration of the plugin

String getId()

Unique identifier for the plugin.

String getPluginType()

The plugin type of the instance.

Integer getPollInterval()

The poll interval in seconds

PluginState getState()

The current state of the plugin.

void setAutoStart(Boolean autoStart)

Whether the plugin should start automatically when configured.

void setConfig(Map config)

(Map of String => Object) The arbitrary configuration of the plugin

void setId(String id)

Unique identifier for the plugin.

void setPluginType(String pluginType)

The plugin type of the instance.

void setPollInterval(Integer pollInterval)

The poll interval in seconds

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

autoStart

private Boolean autoStart
Whether the plugin should start automatically when configured.


config

private Map config
(Map of String => Object) The arbitrary configuration of the plugin
See Also:
Map


id

private String id
Unique identifier for the plugin. Must contain at least one letter and must also start with a letter.


pluginType

private String pluginType
The plugin type of the instance.


pollInterval

private Integer pollInterval
The poll interval in seconds


serialVersionUID

private static final long serialVersionUID


state

private PluginState state
The current state of the plugin. Defaults to PluginState.STOPPED.


 
Constructor Detail

PluginInstance

PluginInstance()


 
Method Detail

getAutoStart

Boolean getAutoStart()
Whether the plugin should start automatically when configured.


getConfig

Map getConfig()
(Map of String => Object) The arbitrary configuration of the plugin
See Also:
Map


getId

String getId()
Unique identifier for the plugin. Must contain at least one letter and must also start with a letter.


getPluginType

String getPluginType()
The plugin type of the instance.


getPollInterval

Integer getPollInterval()
The poll interval in seconds


getState

PluginState getState()
The current state of the plugin. Defaults to PluginState.STOPPED.


setAutoStart

void setAutoStart(Boolean autoStart)
Whether the plugin should start automatically when configured.


setConfig

void setConfig(Map config)
(Map of String => Object) The arbitrary configuration of the plugin
See Also:
Map


setId

void setId(String id)
Unique identifier for the plugin. Must contain at least one letter and must also start with a letter.


setPluginType

void setPluginType(String pluginType)
The plugin type of the instance.


setPollInterval

void setPollInterval(Integer pollInterval)
The poll interval in seconds


setState

void setState(PluginState state)
The current state of the plugin. Defaults to PluginState.STOPPED.


toString

String toString()


 

Groovy Documentation