Enum DigitalServiceStatus
- java.lang.Object
-
- java.lang.Enum<DigitalServiceStatus>
-
- org.odpi.openmetadata.accessservices.dataprivacy.properties.DigitalServiceStatus
-
- All Implemented Interfaces:
Serializable,Comparable<DigitalServiceStatus>
public enum DigitalServiceStatus extends Enum<DigitalServiceStatus> implements Serializable
DigitalServiceStatus tracks the life cycle of a digital service.- DRAFT - The digital service definition is a draft. Typically the initial description is being written up by the enterprise/data/solution architect in conjunction with the business owner.
- PROPOSED - The digital service definition is in planning and business review. Its initial definition is complete and the team are reviewing it for viability. This includes a governance review (such as a data processing impact assessment) that needs to occur before development starts.
- APPROVED_CONCEPT - The digital service definition is approved for development. All governance checks are in place and it is waiting for the development team to get started.
- UNDER_DEVELOPMENT - The development team is at work. This covers the technical implementation and the business development activity necessary to go live with the digital service.
- APPROVED_FOR_DEPLOYMENT - The digital service definition is approved for deployment. This means the software components for the digital service can be deployed and made available to its consumers.
- ACTIVE - The digital service definition is approved and in use.
- DEPRECATED - The digital service definition is no longer active. It may have been replaced by another digital service or deactivated because it is no longer needed, viable or profitable.
- OTHER - The digital service definition in a locally defined state.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVEAPPROVED_CONCEPTAPPROVED_FOR_DEPLOYMENTDEPRECATEDDRAFTOTHERPROPOSEDUNDER_DEVELOPMENT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()Return the default description of the instance provenance type.StringgetName()Return the default name of the instance provenance type.intgetOrdinal()Return the numeric representation of the instance provenance type.StringtoString()toString() JSON-stylestatic DigitalServiceStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static DigitalServiceStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DRAFT
public static final DigitalServiceStatus DRAFT
-
PROPOSED
public static final DigitalServiceStatus PROPOSED
-
APPROVED_CONCEPT
public static final DigitalServiceStatus APPROVED_CONCEPT
-
UNDER_DEVELOPMENT
public static final DigitalServiceStatus UNDER_DEVELOPMENT
-
APPROVED_FOR_DEPLOYMENT
public static final DigitalServiceStatus APPROVED_FOR_DEPLOYMENT
-
ACTIVE
public static final DigitalServiceStatus ACTIVE
-
DEPRECATED
public static final DigitalServiceStatus DEPRECATED
-
OTHER
public static final DigitalServiceStatus OTHER
-
-
Method Detail
-
values
public static DigitalServiceStatus[] 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 (DigitalServiceStatus c : DigitalServiceStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DigitalServiceStatus 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 numeric representation of the instance provenance type.- Returns:
- int ordinal
-
getName
public String getName()
Return the default name of the instance provenance type.- Returns:
- String name
-
getDescription
public String getDescription()
Return the default description of the instance provenance type.- Returns:
- String description
-
toString
public String toString()
toString() JSON-style- Overrides:
toStringin classEnum<DigitalServiceStatus>- Returns:
- string description
-
-