public class ReorderingRule
extends java.lang.Object
| Constructor and Description |
|---|
ReorderingRule()
Instantiates a new reordering rule.
|
ReorderingRule(java.lang.String matchValue,
ReorderingRuleMatchType matchType)
Instantiates a new reordering rule.
|
ReorderingRule(java.lang.String matchValue,
ReorderingRuleMatchType matchType,
int boost)
Instantiates a new reordering rule.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getBoost()
Gets the boost.
|
ReorderingRuleMatchType |
getMatchType()
Gets the match type.
|
java.lang.String |
getMatchValue()
Gets the match value.
|
void |
setBoost(int boost)
Sets the boost.
|
void |
setMatchType(ReorderingRuleMatchType matchType)
Sets the match type.
|
void |
setMatchValue(java.lang.String matchValue)
Sets the match value.
|
java.lang.String |
toString() |
public ReorderingRule()
public ReorderingRule(java.lang.String matchValue,
ReorderingRuleMatchType matchType)
matchValue - the match valuematchType - the match typepublic ReorderingRule(java.lang.String matchValue,
ReorderingRuleMatchType matchType,
int boost)
matchValue - the match valuematchType - the match typeboost - the boostpublic int getBoost()
public ReorderingRuleMatchType getMatchType()
public java.lang.String getMatchValue()
public void setBoost(int boost)
boost - the new boostpublic void setMatchType(ReorderingRuleMatchType matchType)
matchType - the new match typepublic void setMatchValue(java.lang.String matchValue)
matchValue - the new match valuepublic java.lang.String toString()
toString in class java.lang.Object