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 voidaddParameter(Parameter parameter)booleanequals(Object obj)StringgetClazz()Java class name of the class that implements the StorageStrategy.List<Parameter>getParameters()inthashCode()booleanremoveParameter(Parameter parameter)voidsetClazz(String clazz)voidsetParameters(List<Parameter> parameters)StringtoString()
-
-
-
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:
getClazzin interfaceStrategyDefinition
-
setClazz
public void setClazz(String clazz)
-
getParameters
public List<Parameter> getParameters()
- Specified by:
getParametersin interfaceStrategyDefinition
-
addParameter
public void addParameter(Parameter parameter) throws IndexOutOfBoundsException
- Throws:
IndexOutOfBoundsException
-
removeParameter
public boolean removeParameter(Parameter parameter)
-
-