Class Basethresholddef
- java.lang.Object
-
- org.opennms.netmgt.config.threshd.Basethresholddef
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
Expression
,Threshold
public abstract class Basethresholddef extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Basethresholddef()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addResourceFilter(ResourceFilter vResourceFilter)
boolean
equals(java.lang.Object obj)
Overrides the Object.equals method.java.util.Optional<java.lang.String>
getDescription()
java.util.Optional<java.lang.String>
getDsLabel()
java.lang.String
getDsType()
FilterOperator
getFilterOperator()
java.lang.String
getRearm()
java.util.Optional<java.lang.String>
getRearmedUEI()
java.lang.Boolean
getRelaxed()
java.util.List<ResourceFilter>
getResourceFilters()
java.lang.String
getTrigger()
java.util.Optional<java.lang.String>
getTriggeredUEI()
ThresholdType
getType()
java.lang.String
getValue()
int
hashCode()
boolean
removeResourceFilter(ResourceFilter resourceFilter)
void
setDescription(java.lang.String description)
void
setDoubleValue(java.lang.Double value)
void
setDsLabel(java.lang.String dsLabel)
void
setDsType(java.lang.String dsType)
void
setFilterOperator(FilterOperator filterOperator)
void
setRearm(java.lang.String rearm)
void
setRearmedUEI(java.lang.String rearmedUEI)
void
setRearmValue(java.lang.Double rearm)
void
setRelaxed(java.lang.Boolean relaxed)
void
setResourceFilters(java.util.List<ResourceFilter> resourceFilters)
void
setTrigger(java.lang.String trigger)
void
setTriggeredUEI(java.lang.String triggeredUEI)
void
setTriggerValue(java.lang.Integer trigger)
void
setType(ThresholdType type)
void
setValue(java.lang.String value)
-
-
-
Method Detail
-
getRelaxed
public java.lang.Boolean getRelaxed()
-
setRelaxed
public void setRelaxed(java.lang.Boolean relaxed)
-
getDescription
public java.util.Optional<java.lang.String> getDescription()
-
setDescription
public void setDescription(java.lang.String description)
-
getType
public ThresholdType getType()
-
setType
public void setType(ThresholdType type)
-
getDsType
public java.lang.String getDsType()
-
setDsType
public void setDsType(java.lang.String dsType)
-
getValue
public java.lang.String getValue()
-
setValue
public void setValue(java.lang.String value)
-
setDoubleValue
public void setDoubleValue(java.lang.Double value)
-
getRearm
public java.lang.String getRearm()
-
setRearm
public void setRearm(java.lang.String rearm)
-
setRearmValue
public void setRearmValue(java.lang.Double rearm)
-
getTrigger
public java.lang.String getTrigger()
-
setTrigger
public void setTrigger(java.lang.String trigger)
-
setTriggerValue
public void setTriggerValue(java.lang.Integer trigger)
-
getDsLabel
public java.util.Optional<java.lang.String> getDsLabel()
-
setDsLabel
public void setDsLabel(java.lang.String dsLabel)
-
getTriggeredUEI
public java.util.Optional<java.lang.String> getTriggeredUEI()
-
setTriggeredUEI
public void setTriggeredUEI(java.lang.String triggeredUEI)
-
getRearmedUEI
public java.util.Optional<java.lang.String> getRearmedUEI()
-
setRearmedUEI
public void setRearmedUEI(java.lang.String rearmedUEI)
-
getFilterOperator
public FilterOperator getFilterOperator()
-
setFilterOperator
public void setFilterOperator(FilterOperator filterOperator)
-
getResourceFilters
public java.util.List<ResourceFilter> getResourceFilters()
-
setResourceFilters
public void setResourceFilters(java.util.List<ResourceFilter> resourceFilters)
-
addResourceFilter
public void addResourceFilter(ResourceFilter vResourceFilter) throws java.lang.IndexOutOfBoundsException
- Parameters:
vResourceFilter
-- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
removeResourceFilter
public boolean removeResourceFilter(ResourceFilter resourceFilter)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
Overrides the Object.equals method.- Overrides:
equals
in classjava.lang.Object
- Parameters:
obj
-- Returns:
- true if the objects are equal.
-
-