Class DefaultRuleDefinition
- java.lang.Object
-
- org.opennms.netmgt.flows.classification.persistence.api.DefaultRuleDefinition
-
- All Implemented Interfaces:
RuleDefinition
public class DefaultRuleDefinition extends Object implements RuleDefinition
-
-
Constructor Summary
Constructors Constructor Description DefaultRuleDefinition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getDstAddress()
String
getDstPort()
String
getExporterFilter()
int
getGroupPosition()
String
getName()
int
getPosition()
Defines the order in which the rules are evaluated.String
getProtocol()
String
getSrcAddress()
String
getSrcPort()
int
hashCode()
void
setDstAddress(String dstAddress)
void
setDstPort(String dstPort)
void
setExporterFilter(String exporterFilter)
void
setGroupPosition(int groupPosition)
void
setName(String name)
void
setPosition(int position)
void
setProtocol(String protocol)
void
setSrcAddress(String srcAddress)
void
setSrcPort(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, reversedRule
-
-
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getName
in interfaceRuleDefinition
-
getDstAddress
public String getDstAddress()
- Specified by:
getDstAddress
in interfaceRuleDefinition
-
getDstPort
public String getDstPort()
- Specified by:
getDstPort
in interfaceRuleDefinition
-
getSrcPort
public String getSrcPort()
- Specified by:
getSrcPort
in interfaceRuleDefinition
-
getSrcAddress
public String getSrcAddress()
- Specified by:
getSrcAddress
in interfaceRuleDefinition
-
getProtocol
public String getProtocol()
- Specified by:
getProtocol
in interfaceRuleDefinition
-
getExporterFilter
public 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(String name)
-
setDstAddress
public void setDstAddress(String dstAddress)
-
setDstPort
public void setDstPort(String dstPort)
-
setSrcPort
public void setSrcPort(String srcPort)
-
setSrcAddress
public void setSrcAddress(String srcAddress)
-
setProtocol
public void setProtocol(String protocol)
-
setExporterFilter
public void setExporterFilter(String exporterFilter)
-
setGroupPosition
public void setGroupPosition(int groupPosition)
-
setPosition
public void setPosition(int position)
-
-