|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.enterprise.server.plugin.pc.ServerPluginType
public class ServerPluginType
Defines the types of server-side plugins that are currently supported. Server side plugin types are identified uniquely by their plugin descriptor types.
| Constructor Summary | |
|---|---|
ServerPluginType(Class<? extends ServerPluginDescriptorType> descriptorType)
Given a type of plugin descriptor, this will create a plugin type that represents that kind of plugin. |
|
ServerPluginType(ServerPluginDescriptorType descriptor)
Given an actual plugin descriptor object, this will create a plugin type that represents that kind of plugin. |
|
ServerPluginType(String stringifiedType)
Given a string that was returned by a call to stringify(), this
will create its server plugin type. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
Class<? extends ServerPluginDescriptorType> |
getDescriptorType()
|
int |
hashCode()
|
String |
stringify()
Returns a "serialized" form of this instance by returning a string representation of the type. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ServerPluginType(ServerPluginDescriptorType descriptor)
descriptor - an actual descriptor parsed from a pluginpublic ServerPluginType(Class<? extends ServerPluginDescriptorType> descriptorType)
descriptorType -
public ServerPluginType(String stringifiedType)
throws Exception
stringify(), this
will create its server plugin type.
stringifiedType - string representation of a server plugin type.
Exception - if the string was invalid| Method Detail |
|---|
public Class<? extends ServerPluginDescriptorType> getDescriptorType()
public String stringify()
toString().
The returned string can be used to reconstitute the type via
the constructor ServerPluginType(String).
public String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||