public class PropertyRule extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static String |
ALL |
static String |
FORCE_ALL |
static String |
RULE_ANY_MATCH |
Constructor and Description |
---|
PropertyRule() |
PropertyRule(List<String> rule,
String value) |
Modifier and Type | Method and Description |
---|---|
boolean |
compareRule(PropertyRule comparedPropertyRule) |
String |
getFirstToken() |
List<String> |
getRule() |
int |
getRuleSize() |
String |
getToken(int tokenNumber) |
String |
getValue() |
void |
replaceFirstToken(String token) |
void |
setRule(List<String> rule) |
void |
setValue(String value) |
String |
toString() |
public static String FORCE_ALL
public static String ALL
public static String RULE_ANY_MATCH
public String getValue()
public void setValue(String value)
public String getFirstToken()
public String getToken(int tokenNumber)
public int getRuleSize()
public boolean compareRule(PropertyRule comparedPropertyRule)
public void replaceFirstToken(String token)
Copyright © 2017. All rights reserved.