Class DefaultRuleDefinition
- java.lang.Object
-
- org.opennms.netmgt.flows.classification.persistence.api.DefaultRuleDefinition
-
- All Implemented Interfaces:
RuleDefinition
public class DefaultRuleDefinition extends java.lang.Object implements RuleDefinition
-
-
Constructor Summary
Constructors Constructor Description DefaultRuleDefinition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getDstAddress()
java.lang.String
getDstPort()
java.lang.String
getExporterFilter()
int
getGroupPosition()
java.lang.String
getName()
int
getPosition()
Defines the order in which the rules are evaluated.java.lang.String
getProtocol()
java.lang.String
getSrcAddress()
java.lang.String
getSrcPort()
int
hashCode()
void
setDstAddress(java.lang.String dstAddress)
void
setDstPort(java.lang.String dstPort)
void
setExporterFilter(java.lang.String exporterFilter)
void
setGroupPosition(int groupPosition)
void
setName(java.lang.String name)
void
setPosition(int position)
void
setProtocol(java.lang.String protocol)
void
setSrcAddress(java.lang.String srcAddress)
void
setSrcPort(java.lang.String srcPort)
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opennms.netmgt.flows.classification.persistence.api.RuleDefinition
hasDefinition, hasDstAddressDefinition, hasDstPortDefinition, hasExportFilterDefinition, hasProtocolDefinition, hasSrcAddressDefinition, hasSrcPortDefinition
-
-
-
-
Method Detail
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceRuleDefinition
-
getDstAddress
public java.lang.String getDstAddress()
- Specified by:
getDstAddress
in interfaceRuleDefinition
-
getDstPort
public java.lang.String getDstPort()
- Specified by:
getDstPort
in interfaceRuleDefinition
-
getSrcPort
public java.lang.String getSrcPort()
- Specified by:
getSrcPort
in interfaceRuleDefinition
-
getSrcAddress
public java.lang.String getSrcAddress()
- Specified by:
getSrcAddress
in interfaceRuleDefinition
-
getProtocol
public java.lang.String getProtocol()
- Specified by:
getProtocol
in interfaceRuleDefinition
-
getExporterFilter
public java.lang.String getExporterFilter()
- Specified by:
getExporterFilter
in interfaceRuleDefinition
-
getGroupPosition
public int getGroupPosition()
- Specified by:
getGroupPosition
in interfaceRuleDefinition
-
getPosition
public int getPosition()
Description copied from interface:RuleDefinition
Defines the order in which the rules are evaluated. Lower positions go first- Specified by:
getPosition
in interfaceRuleDefinition
-
setName
public void setName(java.lang.String name)
-
setDstAddress
public void setDstAddress(java.lang.String dstAddress)
-
setDstPort
public void setDstPort(java.lang.String dstPort)
-
setSrcPort
public void setSrcPort(java.lang.String srcPort)
-
setSrcAddress
public void setSrcAddress(java.lang.String srcAddress)
-
setProtocol
public void setProtocol(java.lang.String protocol)
-
setExporterFilter
public void setExporterFilter(java.lang.String exporterFilter)
-
setGroupPosition
public void setGroupPosition(int groupPosition)
-
setPosition
public void setPosition(int position)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-