org.rhq.core.domain.plugin
Class ServerPlugin
java.lang.Object
org.rhq.core.domain.plugin.AbstractPlugin
org.rhq.core.domain.plugin.ServerPlugin
- All Implemented Interfaces:
- Serializable
public class ServerPlugin
- extends AbstractPlugin
A server plugin.
This object contains information about the plugin jar itself (e.g. its name and MD5).
It may also contain the jar contents (AbstractPlugin.getContent()
).
- See Also:
- Serialized Form
Constructor Summary |
ServerPlugin()
|
ServerPlugin(int id,
String name,
String path,
String displayName,
boolean enabled,
PluginStatusType status,
String description,
String help,
String md5,
String version,
String ampsVersion,
Configuration pluginConfig,
Configuration scheduledJobsConfig,
String type,
long ctime,
long mtime)
|
ServerPlugin(String name,
String path)
|
ServerPlugin(String name,
String path,
String md5)
|
Methods inherited from class org.rhq.core.domain.plugin.AbstractPlugin |
getAmpsVersion, getContent, getCtime, getDeployment, getDescription, getDisplayName, getHelp, getId, getMd5, getMD5, getMtime, getName, getPath, getStatus, getVersion, isEnabled, setAmpsVersion, setContent, setCtime, setDescription, setDisplayName, setEnabled, setHelp, setId, setMd5, setMD5, setMtime, setName, setPath, setStatus, setVersion |
QUERY_GET_STATUS_BY_NAME
public static final String QUERY_GET_STATUS_BY_NAME
- See Also:
- Constant Field Values
QUERY_GET_KEYS_BY_ENABLED
public static final String QUERY_GET_KEYS_BY_ENABLED
- See Also:
- Constant Field Values
QUERY_FIND_BY_IDS
public static final String QUERY_FIND_BY_IDS
- See Also:
- Constant Field Values
QUERY_FIND_ALL_BY_IDS
public static final String QUERY_FIND_ALL_BY_IDS
- See Also:
- Constant Field Values
QUERY_FIND_BY_NAME
public static final String QUERY_FIND_BY_NAME
- See Also:
- Constant Field Values
QUERY_FIND_ANY_BY_NAME
public static final String QUERY_FIND_ANY_BY_NAME
- See Also:
- Constant Field Values
QUERY_FIND_ALL
public static final String QUERY_FIND_ALL
- See Also:
- Constant Field Values
QUERY_FIND_ALL_INSTALLED
public static final String QUERY_FIND_ALL_INSTALLED
- See Also:
- Constant Field Values
QUERY_FIND_ALL_INSTALLED_KEYS
public static final String QUERY_FIND_ALL_INSTALLED_KEYS
- See Also:
- Constant Field Values
QUERY_FIND_KEYS_BY_IDS
public static final String QUERY_FIND_KEYS_BY_IDS
- See Also:
- Constant Field Values
QUERY_GET_CONFIG_MTIMES
public static final String QUERY_GET_CONFIG_MTIMES
- See Also:
- Constant Field Values
UPDATE_PLUGIN_ENABLED_BY_ID
public static final String UPDATE_PLUGIN_ENABLED_BY_ID
- See Also:
- Constant Field Values
ServerPlugin
public ServerPlugin()
ServerPlugin
public ServerPlugin(String name,
String path)
ServerPlugin
public ServerPlugin(String name,
String path,
String md5)
ServerPlugin
public ServerPlugin(int id,
String name,
String path,
String displayName,
boolean enabled,
PluginStatusType status,
String description,
String help,
String md5,
String version,
String ampsVersion,
Configuration pluginConfig,
Configuration scheduledJobsConfig,
String type,
long ctime,
long mtime)
setDeployment
public void setDeployment(PluginDeploymentType deployment)
- Overrides:
setDeployment
in class AbstractPlugin
getPluginConfiguration
public Configuration getPluginConfiguration()
- If the plugin, itself, has configuration associated with it, this is that configuration.
- Returns:
- the configuration associated with the plugin itself
setPluginConfiguration
public void setPluginConfiguration(Configuration pluginConfiguration)
getScheduledJobsConfiguration
public Configuration getScheduledJobsConfiguration()
- If the plugin has jobs associated with it, this is the configuration for those jobs.
- Returns:
- scheduled job configuration for jobs that the plugin defined.
setScheduledJobsConfiguration
public void setScheduledJobsConfiguration(Configuration scheduledJobsConfiguration)
getType
public String getType()
- Plugin type string.
- Returns:
- plugin type
setType
public void setType(String type)
equals
public boolean equals(Object obj)
- Overrides:
equals
in class AbstractPlugin
hashCode
public int hashCode()
- Overrides:
hashCode
in class AbstractPlugin
toString
public String toString()
- Overrides:
toString
in class AbstractPlugin
Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.