Package org.opennms.netmgt.collectd
Class PersistRegexSelectorStrategy
- java.lang.Object
-
- org.opennms.netmgt.collectd.PersistRegexSelectorStrategy
-
- All Implemented Interfaces:
PersistenceSelectorStrategy
public class PersistRegexSelectorStrategy extends java.lang.Object implements PersistenceSelectorStrategy
PersistRegexSelectorStrategy- Author:
- Alejandro Galue
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
PersistRegexSelectorStrategy.EvaluatorContextVisitor
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
MATCH_BEHAVIOR
static java.lang.String
MATCH_EXPRESSION
static java.lang.String
MATCH_STRATEGY
-
Constructor Summary
Constructors Constructor Description PersistRegexSelectorStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setParameters(java.util.List<Parameter> parameterCollection)
boolean
shouldPersist(CollectionResource resource)
-
-
-
Field Detail
-
MATCH_EXPRESSION
public static final java.lang.String MATCH_EXPRESSION
- See Also:
- Constant Field Values
-
MATCH_STRATEGY
public static final java.lang.String MATCH_STRATEGY
- See Also:
- Constant Field Values
-
MATCH_BEHAVIOR
public static final java.lang.String MATCH_BEHAVIOR
- See Also:
- Constant Field Values
-
-
Method Detail
-
shouldPersist
public boolean shouldPersist(CollectionResource resource)
- Specified by:
shouldPersist
in interfacePersistenceSelectorStrategy
-
setParameters
public void setParameters(java.util.List<Parameter> parameterCollection)
- Specified by:
setParameters
in interfacePersistenceSelectorStrategy
-
-