public enum TotalConditionKind extends Enum<TotalConditionKind>
Enum Constant and Description |
---|
INTERSECT
Accepts iff only existing expected and actual data matched.
|
SKIP_ABSENT
Accepts iff only existing actual data matched.
|
SKIP_ALL
Always accepts.
|
SKIP_UNEXPECTED
Accepts iff only existing expected data matched.
|
STRICT
Accepts iff all data matched.
|
Modifier and Type | Method and Description |
---|---|
static TotalConditionKind |
fromOption(String text)
Retutns a constant of this enum from the corresponded textual representation.
|
static String[] |
getOptions()
Returns options as text.
|
Set<DataModelCondition> |
getPredicates()
Returns predicates corresponded to this.
|
String |
getTitle()
Returns a title of this kind.
|
static TotalConditionKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TotalConditionKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TotalConditionKind STRICT
public static final TotalConditionKind SKIP_UNEXPECTED
public static final TotalConditionKind SKIP_ABSENT
public static final TotalConditionKind INTERSECT
public static final TotalConditionKind SKIP_ALL
public static TotalConditionKind[] values()
for (TotalConditionKind c : TotalConditionKind.values()) System.out.println(c);
public static TotalConditionKind valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getTitle()
public Set<DataModelCondition> getPredicates()
public static TotalConditionKind fromOption(String text)
text
- a textual representationnull
if does not existIllegalArgumentException
- if some parameters were null
public static String[] getOptions()
IllegalArgumentException
- if some parameters were null
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.