Class PluginParameter
- java.lang.Object
-
- org.opennms.netmgt.provision.persist.foreignsource.PluginParameter
-
- All Implemented Interfaces:
Serializable
,Comparable<PluginParameter>
public class PluginParameter extends Object implements Serializable, Comparable<PluginParameter>
PluginParameter class.
- Version:
- $Id: $
- Author:
- ranger
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PluginParameter()
Constructor for PluginParameter.PluginParameter(String key, String value)
Constructor for PluginParameter.PluginParameter(Map.Entry<String,String> e)
Constructor for PluginParameter.PluginParameter(PluginConfig pluginConfig, String key, String value)
Constructor for PluginParameter.PluginParameter(PluginConfig pluginConfig, Map.Entry<String,String> set)
Constructor for PluginParameter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(PluginParameter other)
boolean
equals(Object obj)
Set<String>
getAvailableParameterKeys()
getAvailableParameterKeysString
getKey()
getKeyString
getValue()
getValueint
hashCode()
void
setKey(String key)
setKeyvoid
setPluginConfig(PluginConfig pc)
setPluginConfigvoid
setValue(String value)
setValueString
toString()
-
-
-
Constructor Detail
-
PluginParameter
public PluginParameter()
Constructor for PluginParameter.
-
PluginParameter
public PluginParameter(Map.Entry<String,String> e)
Constructor for PluginParameter.
- Parameters:
e
- aMap.Entry
object.
-
PluginParameter
public PluginParameter(PluginConfig pluginConfig, String key, String value)
Constructor for PluginParameter.
- Parameters:
pluginConfig
- aPluginConfig
object.key
- aString
object.value
- aString
object.
-
PluginParameter
public PluginParameter(PluginConfig pluginConfig, Map.Entry<String,String> set)
Constructor for PluginParameter.
- Parameters:
pluginConfig
- aPluginConfig
object.set
- aMap.Entry
object.
-
-
Method Detail
-
setPluginConfig
public void setPluginConfig(PluginConfig pc)
setPluginConfig
- Parameters:
pc
- aPluginConfig
object.
-
getAvailableParameterKeys
public Set<String> getAvailableParameterKeys()
getAvailableParameterKeys
- Returns:
- a
Set
object.
-
compareTo
public int compareTo(PluginParameter other)
- Specified by:
compareTo
in interfaceComparable<PluginParameter>
-
-