Enum ElementStatus
- java.lang.Object
-
- java.lang.Enum<ElementStatus>
-
- org.odpi.openmetadata.accessservices.stewardshipaction.metadataelements.ElementStatus
-
- All Implemented Interfaces:
Serializable,Comparable<ElementStatus>
public enum ElementStatus extends Enum<ElementStatus> implements Serializable
The ElementStatus defines the status of an element in the metadata collection. It effectively defines its visibility to different types of queries. Most queries by default will only return instances not in the deleted status.- Unknown: Unknown instance status.
- Draft: The content is incomplete.
- Proposed: The content is in review.
- Approved: The content is approved.
- Rejected: The request or proposal is rejected.
- Approved concept: The request or proposal is approved for development.
- Under development: The instance is being developed.
- Development complete: The development of the instance is complete.
- Approved for deployment: The instance is approved for deployment.
- StandBy: The instance is deployed in standby mode.
- Active: The instance is approved and in use.
- Failed: The instance is not in use due to failure.
- Disabled: The instance is shutdown or disabled.
- Complete: The activity associated with the instance is complete.
- Deprecated: The instance is out of date and should not be used.
- Other: The instance is in a locally defined state.
- Deleted: The instance has been deleted and is waiting to be purged. It is kept in the metadata collection to support a restore request. It is not returned on normal queries.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVEAPPROVEDAPPROVED_CONCEPTAPPROVED_FOR_DEPLOYMENTCOMPLETEDEPRECATEDDEVELOPMENT_COMPLETEDISABLEDDRAFTFAILEDOTHERPREPAREDPROPOSEDREJECTEDSTANDBYUNDER_DEVELOPMENTUNKNOWN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()Return the description for the enum.StringgetName()Return the descriptive name for the enum.intgetOrdinal()Return the numerical value for the enum.StringtoString()toString() JSON-stylestatic ElementStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static ElementStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final ElementStatus UNKNOWN
-
DRAFT
public static final ElementStatus DRAFT
-
PREPARED
public static final ElementStatus PREPARED
-
PROPOSED
public static final ElementStatus PROPOSED
-
APPROVED
public static final ElementStatus APPROVED
-
REJECTED
public static final ElementStatus REJECTED
-
APPROVED_CONCEPT
public static final ElementStatus APPROVED_CONCEPT
-
UNDER_DEVELOPMENT
public static final ElementStatus UNDER_DEVELOPMENT
-
DEVELOPMENT_COMPLETE
public static final ElementStatus DEVELOPMENT_COMPLETE
-
APPROVED_FOR_DEPLOYMENT
public static final ElementStatus APPROVED_FOR_DEPLOYMENT
-
STANDBY
public static final ElementStatus STANDBY
-
ACTIVE
public static final ElementStatus ACTIVE
-
FAILED
public static final ElementStatus FAILED
-
DISABLED
public static final ElementStatus DISABLED
-
COMPLETE
public static final ElementStatus COMPLETE
-
DEPRECATED
public static final ElementStatus DEPRECATED
-
OTHER
public static final ElementStatus OTHER
-
-
Method Detail
-
values
public static ElementStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ElementStatus c : ElementStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ElementStatus valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getOrdinal
public int getOrdinal()
Return the numerical value for the enum.- Returns:
- int enum value ordinal
-
getName
public String getName()
Return the descriptive name for the enum.- Returns:
- String name
-
getDescription
public String getDescription()
Return the description for the enum.- Returns:
- String description
-
toString
public String toString()
toString() JSON-style- Overrides:
toStringin classEnum<ElementStatus>- Returns:
- string description
-
-