public enum StoreType extends Enum<StoreType>
| Modifier and Type | Method and Description |
|---|---|
static StoreType |
get(Class<?> storeCls) |
static StoreType |
get(String typeStr) |
Class<? extends ArtifactStore> |
getStoreClass() |
boolean |
isWritable() |
String |
pluralEndpointName() |
String |
singularEndpointName() |
static StoreType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StoreType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StoreType group
public static final StoreType remote
public static final StoreType hosted
public static StoreType[] values()
for (StoreType c : StoreType.values()) System.out.println(c);
public static 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 String pluralEndpointName()
public String singularEndpointName()
public boolean isWritable()
public Class<? extends ArtifactStore> getStoreClass()
Copyright © 2015. All Rights Reserved.