public enum RestrictionProcessedState extends Enum<RestrictionProcessedState>
restriction
.Enum Constant and Description |
---|
FAILED
The restriction failed to be processed after exceeding the maximum allowed retries.
|
IN_PROGRESS
The restriction is currently being processed.
|
PROCESSED
The restriction has been processed successfully.
|
UNPROCESSED
The restriction is waiting to be processed and has not exceeded the maximum allowed retries.
|
Modifier and Type | Method and Description |
---|---|
static RestrictionProcessedState |
fromId(int id) |
static Set<RestrictionProcessedState> |
getFinishedStates()
Returns a set of states that are considered "finished".
|
int |
getId() |
static RestrictionProcessedState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RestrictionProcessedState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RestrictionProcessedState UNPROCESSED
public static final RestrictionProcessedState PROCESSED
public static final RestrictionProcessedState FAILED
public static final RestrictionProcessedState IN_PROGRESS
public static RestrictionProcessedState[] values()
for (RestrictionProcessedState c : RestrictionProcessedState.values()) System.out.println(c);
public static RestrictionProcessedState 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 static RestrictionProcessedState fromId(int id)
public static Set<RestrictionProcessedState> getFinishedStates()
public int getId()
Copyright © 2024 Atlassian. All rights reserved.