public enum InstanceProvenanceType extends Enum<InstanceProvenanceType> implements Serializable
| Enum Constant and Description |
|---|
CONFIGURATION |
CONTENT_PACK |
DEREGISTERED_REPOSITORY |
EXPORT_ARCHIVE |
EXTERNAL_SOURCE |
LOCAL_COHORT |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Return the default description of the instance provenance type.
|
String |
getName()
Return the default name of the instance provenance type.
|
int |
getOrdinal()
Return the numeric representation of the instance provenance type.
|
String |
toString()
toString() JSON-style
|
static InstanceProvenanceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InstanceProvenanceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InstanceProvenanceType UNKNOWN
public static final InstanceProvenanceType LOCAL_COHORT
public static final InstanceProvenanceType EXPORT_ARCHIVE
public static final InstanceProvenanceType CONTENT_PACK
public static final InstanceProvenanceType DEREGISTERED_REPOSITORY
public static final InstanceProvenanceType CONFIGURATION
public static final InstanceProvenanceType EXTERNAL_SOURCE
public static InstanceProvenanceType[] values()
for (InstanceProvenanceType c : InstanceProvenanceType.values()) System.out.println(c);
public static InstanceProvenanceType 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 int getOrdinal()
public String getName()
public String getDescription()
public String toString()
toString in class Enum<InstanceProvenanceType>Copyright © 2018–2019 ODPi. All rights reserved.