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