@PublicAPI public class PluginDescriptor extends Object implements Serializable
Constructor and Description |
---|
PluginDescriptor() |
PluginDescriptor(Class<?> cls,
Object instance,
Map<String,String> defaultValues) |
PluginDescriptor(Class<?> cls,
Object instance,
Object[] parameters)
Create a plugin descriptor populated with the given parameters
|
Modifier and Type | Method and Description |
---|---|
static String |
beautifyName(String name) |
Collection<ConfigurableField> |
getConfigurableFields() |
Map<String,String> |
getDefaultValues() |
Map<String,String> |
getMeta() |
String |
getPluginDescription() |
String |
getPluginName() |
Map<Integer,String> |
getSectionDescriptions() |
Object[] |
packParameters(Object[] parameters)
Packs parameters inputed by user into appropriate parameters set required for this plugin.
|
String |
toString() |
public PluginDescriptor()
public PluginDescriptor(Class<?> cls, Object instance, Map<String,String> defaultValues)
public String getPluginName()
public String getPluginDescription()
public Collection<ConfigurableField> getConfigurableFields()
public Map<String,String> getDefaultValues()
public Object[] packParameters(Object[] parameters) throws RMException
parameters
- input parametersRMException
- when error occurs