16 package org.openkilda.messaging.model.rule;
20 import com.fasterxml.jackson.annotation.JsonProperty;
21 import com.fasterxml.jackson.databind.annotation.JsonSerialize;
22 import com.google.common.base.MoreObjects;
24 import java.io.Serializable;
25 import java.util.Objects;
35 private static final long serialVersionUID = 1L;
41 private int outputPort;
47 private int outputVlan;
98 this.outputPort = outputPort;
99 this.outputVlan = outputVlan;
100 this.outputVlanType = outputVlanType;
101 this.meterId = meterId;
102 this.priority = priority;
120 this.outputPort = outputPort;
138 this.outputVlan = outputVlan;
147 return outputVlanType;
156 this.outputVlanType = outputVlanType;
174 this.meterId = meterId;
192 this.priority = priority;
200 if (
this ==
object) {
204 if (
object == null || getClass() !=
object.getClass()) {
235 return MoreObjects.toStringHelper(
this)
static final String COOKIE
static final String OUTPUT_PORT
static final String PRIORITY
static final String OUTPUT_VLAN
FlowInstall(@JsonProperty(RuleConstants.FLOW_ID) String flowId, @JsonProperty(RuleConstants.COOKIE) int cookie, @JsonProperty(RuleConstants.SWITCH_ID) String switchId, @JsonProperty(RuleConstants.MATCH_PORT) int matchPort, @JsonProperty(RuleConstants.MATCH_VLAN) int matchVlan, @JsonProperty(RuleConstants.OUTPUT_PORT) int outputPort, @JsonProperty(RuleConstants.OUTPUT_VLAN) int outputVlan, @JsonProperty(RuleConstants.OUTPUT_VLAN_TYPE) OutputVlanType outputVlanType, @JsonProperty(RuleConstants.METER_ID) int meterId, @JsonProperty(RuleConstants.PRIORITY) int priority)
void setOutputVlan(int outputVlan)
static final String MATCH_PORT
OutputVlanType getOutputVlanType()
static final String FLOW_ID
void setPriority(int priority)
boolean equals(Object object)
static final String SWITCH_ID
static final String MATCH_VLAN
static final String METER_ID
static final String OUTPUT_VLAN_TYPE
void setMeterId(int meterId)
void setOutputPort(int outputPort)
void setOutputVlanType(OutputVlanType outputVlanType)