Class StorageStrategy
- java.lang.Object
-
- org.opennms.netmgt.config.datacollection.StorageStrategy
-
- All Implemented Interfaces:
Serializable
,StrategyDefinition
public class StorageStrategy extends Object implements StrategyDefinition, Serializable
Selects a StorageStrategy that decides where data is stored.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StorageStrategy()
StorageStrategy(String clazz)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addParameter(Parameter parameter)
boolean
equals(Object obj)
String
getClazz()
Java class name of the class that implements the StorageStrategy.List<Parameter>
getParameters()
int
hashCode()
boolean
removeParameter(Parameter parameter)
void
setClazz(String clazz)
void
setParameters(List<Parameter> parameters)
String
toString()
-
-
-
Constructor Detail
-
StorageStrategy
public StorageStrategy()
-
StorageStrategy
public StorageStrategy(String clazz)
-
-
Method Detail
-
getClazz
public String getClazz()
Java class name of the class that implements the StorageStrategy.- Specified by:
getClazz
in interfaceStrategyDefinition
-
setClazz
public void setClazz(String clazz)
-
getParameters
public List<Parameter> getParameters()
- Specified by:
getParameters
in interfaceStrategyDefinition
-
addParameter
public void addParameter(Parameter parameter) throws IndexOutOfBoundsException
- Throws:
IndexOutOfBoundsException
-
removeParameter
public boolean removeParameter(Parameter parameter)
-
-