public class StringCondition extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
StringCondition.Mode
Condition mode.
|
Constructor and Description |
---|
StringCondition(String value,
StringCondition.Mode mode)
Creates a new string condition.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
StringCondition.Mode |
getMode()
Gets the mode related to this condition.
|
String |
getValue()
Gets the value associated with this condition.
|
int |
hashCode() |
String |
toString() |
public StringCondition(String value, StringCondition.Mode mode)
value
- value to apply the condition against.mode
- the mode to use the condition in.public String getValue()
public StringCondition.Mode getMode()
Copyright © 2016. All Rights Reserved.