public class Condition extends Object
| Modifier and Type | Method and Description |
|---|---|
static Condition |
actualCondition(String condition)
Creates an actual condition (as opposed to a default condition).
|
static Condition |
defaultCondition()
Creates a new default condition.
|
boolean |
equals(Object o) |
String |
getCondition()
Returns the string defining the condition or
null if this is a default condition. |
int |
hashCode() |
boolean |
isDefault()
Returns whether this condition is a default condition.
|
public static Condition actualCondition(String condition)
condition - The string defining the condition.public static Condition defaultCondition()
public String getCondition()
null if this is a default condition.null if this is a default condition.public boolean isDefault()
true if this condition is a default condition, false otherwise.Copyright © 2021 Apache Software Foundation. All rights reserved.