@ProviderType public enum DistributionRequestType extends Enum<DistributionRequestType>
The request type tied to a specific DistributionRequest
, used to decide how
the distribution content should be aggregated.
ADD
requests can for example lead to the creation of a package of resources to be persisted on the target instance.
DELETE
requests can for example lead to the creation of a "command package" to be sent to the target instance
to actually remove the resources specified in DistributionRequest.getPaths()
.
PULL
requests can for example lead to the creation of a "command package" that will trigger fetching of content
from the target instance.
Enum Constant and Description |
---|
ADD
Action type for adding content
|
DELETE
Action type for deleting content
|
PULL
Action type for pulling content
|
TEST
Action type for testing connection.
|
Modifier and Type | Method and Description |
---|---|
static @Nullable DistributionRequestType |
fromName(String n)
Creates an action type for the given name.
|
static DistributionRequestType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DistributionRequestType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DistributionRequestType ADD
public static final DistributionRequestType DELETE
public static final DistributionRequestType PULL
public static final DistributionRequestType TEST
public static DistributionRequestType[] values()
for (DistributionRequestType c : DistributionRequestType.values()) System.out.println(c);
public static DistributionRequestType 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@Nullable public static @Nullable DistributionRequestType fromName(String n)
null
, null
is returned.n
- the namenull
Copyright © 2010 - 2020 Adobe. All Rights Reserved