public enum ActionState extends Enum<ActionState>
Enum Constant and Description |
---|
ERROR
An error occurred trying to perform the action, such as a connection error or the build server being down.
|
FAILED
The action failed to perform.
|
SUCCESSFUL
The action was performed successfully.
|
Modifier and Type | Method and Description |
---|---|
static Optional<ActionState> |
fromString(String value) |
static ActionState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ActionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActionState ERROR
ActionResult.getMessage()
about why it failed.public static final ActionState FAILED
ActionResult.getMessage()
about why it failed.public static final ActionState SUCCESSFUL
public static ActionState[] values()
for (ActionState c : ActionState.values()) System.out.println(c);
public static ActionState 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 null@Nonnull public static Optional<ActionState> fromString(String value)
Copyright © 2024 Atlassian. All rights reserved.