public static enum ExecutionStatus.Status extends Enum<ExecutionStatus.Status>
Enum Constant and Description |
---|
FAIL
The execution led to unexpected effect (e.g., typed 'Oxford' but the value set is 'Oxfordshire'
|
FATAL
An error from which it was not possible to recover
|
NON_EXECUTABLE
E.g., a click on a non visible element, or not present
|
SUCCESS
The action performed is compatible with the expected behaviour
|
UNSPECIFIED
When it's not clear if the observed effect is an error or not.
|
Modifier and Type | Method and Description |
---|---|
org.apache.commons.lang3.tuple.Pair<String,String> |
asConstant() |
boolean |
isOkish() |
static ExecutionStatus.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExecutionStatus.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExecutionStatus.Status NON_EXECUTABLE
public static final ExecutionStatus.Status SUCCESS
public static final ExecutionStatus.Status FAIL
public static final ExecutionStatus.Status FATAL
public static final ExecutionStatus.Status UNSPECIFIED
public static ExecutionStatus.Status[] values()
for (ExecutionStatus.Status c : ExecutionStatus.Status.values()) System.out.println(c);
public static ExecutionStatus.Status 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 boolean isOkish()
Copyright © 2020 OXPath Team. All rights reserved.