@PublicAPI public class PluginDescriptor extends Object implements Serializable
Constructor and Description |
---|
PluginDescriptor() |
PluginDescriptor(Class<?> cls,
Map<String,String> defaultValues) |
PluginDescriptor(Class<?> cls,
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() |
String |
getPluginDescription() |
String |
getPluginName() |
Object[] |
packParameters(Object[] parameters)
Packs parameters inputed by user into appropriate parameters set required for this plugin.
|
String |
toString() |
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