public class PolicyRuleItem extends Object implements Comparable<PolicyRuleItem>
| Constructor and Description |
|---|
PolicyRuleItem() |
| Modifier and Type | Method and Description |
|---|---|
void |
check()
if weight is less than 100, fill with minimum version
|
int |
compareTo(PolicyRuleItem param) |
Matcher |
getMatch() |
Integer |
getPrecedence() |
List<RouteItem> |
getRoute() |
Integer |
getTotal() |
boolean |
isWeightLess() |
void |
setMatch(Matcher match) |
void |
setPrecedence(Integer precedence) |
void |
setRoute(List<RouteItem> route) |
void |
setTotal(Integer total) |
void |
setWeightLess(boolean weightLess) |
String |
toString() |
public void check()
public int compareTo(PolicyRuleItem param)
compareTo in interface Comparable<PolicyRuleItem>public Integer getPrecedence()
public void setPrecedence(Integer precedence)
public Matcher getMatch()
public void setMatch(Matcher match)
public Integer getTotal()
public void setTotal(Integer total)
public boolean isWeightLess()
public void setWeightLess(boolean weightLess)
Copyright © 2017–2022 The Apache Software Foundation. All rights reserved.