public static enum ArtifactCacheEvent.StoreType extends Enum<ArtifactCacheEvent.StoreType>
ArtifactCacheEvent.Operation
STORE there are different store types, storing the actual artifact or the
manifest of it. For the cases of FETCH use NOT_APPLICABLE.Enum Constant and Description |
---|
ARTIFACT |
MANIFEST |
NOT_APPLICABLE |
Modifier and Type | Method and Description |
---|---|
static ArtifactCacheEvent.StoreType |
fromArtifactInfo(ArtifactInfo info) |
static ArtifactCacheEvent.StoreType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ArtifactCacheEvent.StoreType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ArtifactCacheEvent.StoreType ARTIFACT
public static final ArtifactCacheEvent.StoreType MANIFEST
public static final ArtifactCacheEvent.StoreType NOT_APPLICABLE
public static ArtifactCacheEvent.StoreType[] values()
for (ArtifactCacheEvent.StoreType c : ArtifactCacheEvent.StoreType.values()) System.out.println(c);
public static ArtifactCacheEvent.StoreType 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 ArtifactCacheEvent.StoreType fromArtifactInfo(ArtifactInfo info)