|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.rhq.core.domain.plugin.PluginKey
public class PluginKey
Encapsulates informaton that can uniquely identify a plugin.
Constructor Summary | |
---|---|
protected |
PluginKey()
|
|
PluginKey(Plugin plugin)
Create a plugin key that identifies the given agent plugin. |
|
PluginKey(PluginDeploymentType deployment,
String pluginType,
String pluginName)
|
|
PluginKey(ServerPlugin plugin)
Create a plugin key that identifies the given server plugin. |
Method Summary | |
---|---|
static PluginKey |
createAgentPluginKey(String pluginName)
Creates a plugin key that identifies an agent plugin. |
static PluginKey |
createServerPluginKey(String pluginType,
String pluginName)
Creates a plugin key that identifies a server plugin. |
boolean |
equals(Object obj)
|
PluginDeploymentType |
getDeployment()
|
String |
getPluginName()
|
String |
getPluginType()
|
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected PluginKey()
public PluginKey(Plugin plugin)
plugin
- agent pluginpublic PluginKey(ServerPlugin plugin)
plugin
- server pluginpublic PluginKey(PluginDeploymentType deployment, String pluginType, String pluginName)
Method Detail |
---|
public static PluginKey createAgentPluginKey(String pluginName)
getPluginType()
on the
returned object will return null
to signify this.
pluginName
- the name of the plugin
public static PluginKey createServerPluginKey(String pluginType, String pluginName)
pluginType
- the type of plugin - must not be null or an empty stringpluginName
- the name of the plugin
public PluginDeploymentType getDeployment()
public String getPluginName()
@Nullable public String getPluginType()
public String toString()
toString
in class Object
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |