public class ServerPluginType extends Object
| Constructor and Description |
|---|
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. |
| Modifier and Type | Method and Description |
|---|---|
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() |
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 invalidpublic Class<? extends ServerPluginDescriptorType> getDescriptorType()
public String stringify()
toString().
The returned string can be used to reconstitute the type via
the constructor ServerPluginType(String).Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.