Class SetStatusToCriteria
- java.lang.Object
-
- org.opennms.features.topology.api.topo.Criteria
-
- org.opennms.features.topology.plugins.topo.bsm.simulate.SimulationCriteria
-
- org.opennms.features.topology.plugins.topo.bsm.simulate.SetStatusToCriteria
-
- All Implemented Interfaces:
NamespaceAware
public class SetStatusToCriteria extends SimulationCriteria
This criteria is used to alter the severity of a specific reduction key.- Author:
- jwhite
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opennms.features.topology.api.topo.Criteria
Criteria.ElementType
-
-
Constructor Summary
Constructors Constructor Description SetStatusToCriteria(java.lang.String reductionKey, Status status)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getReductionKey()
Status
getStatus()
int
hashCode()
void
setStatus(Status status)
-
Methods inherited from class org.opennms.features.topology.plugins.topo.bsm.simulate.SimulationCriteria
contributesTo, getNamespace, getType
-
Methods inherited from class org.opennms.features.topology.api.topo.Criteria
getCriteriaForGraphContainer, getSingleCriteriaForGraphContainer, isDirty, resetDirty, setDirty
-
-
-
-
Constructor Detail
-
SetStatusToCriteria
public SetStatusToCriteria(java.lang.String reductionKey, Status status)
-
-
Method Detail
-
getReductionKey
public java.lang.String getReductionKey()
-
getStatus
public Status getStatus()
-
setStatus
public void setStatus(Status status)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classSimulationCriteria
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classSimulationCriteria
-
-