public enum DistributionRequestState extends Enum<DistributionRequestState>
The different states a DistributionRequest can have during its lifecycle.
Allowed transitions of DistributionRequestState for a certain
DistributionRequest are:
#DISTRIBUTED to ø,
#DROPPED to ø,
#ACCEPTED to #DROPPED,
#ACCEPTED to #DISTRIBUTED.
DistributionRequests executed synchronously
will only results in #DISTRIBUTED or #DROPPED DistributionRequestStates
while requests executed asynchronously can result in any of #DISTRIBUTED, #DROPPED or #ACCEPTED states.
| Enum Constant and Description |
|---|
ACCEPTED
The request has been accepted, as a consequence the content to be distributed
has been created and queued (and it will be eventually processed asynchronously).
|
DISTRIBUTED
The request has completed and the content has been successfully distributed
(created, transported and persisted) from the source instance to the target instance.
|
DROPPED
The request has been dropped and the content could not be successfully
distributed from the source to target instance because the request
execution failed during one of the phases: creation, queueing, transport, persistence.
|
NOT_EXECUTED
The request was not executed because no distribution agent was found to serve it.
|
| Modifier and Type | Method and Description |
|---|---|
static DistributionRequestState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DistributionRequestState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DistributionRequestState DISTRIBUTED
public static final DistributionRequestState DROPPED
public static final DistributionRequestState NOT_EXECUTED
public static final DistributionRequestState ACCEPTED
public static DistributionRequestState[] values()
for (DistributionRequestState c : DistributionRequestState.values()) System.out.println(c);
public static DistributionRequestState 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 nullCopyright © 2010 - 2020 Adobe. All Rights Reserved