Enum CurationProposalStatus
- All Implemented Interfaces:
Serializable,Comparable<CurationProposalStatus>
The review status of a curation proposal. Valid values:
-
PENDING_REVIEW- Waiting for a curator's decision. This is the initial status, and the only status that AcceptCurationProposal and RejectCurationProposal act on. -
APPROVED- A curator accepted the proposal. Its change set is published or publishing. -
REJECTED- The proposal was closed without applying its change set. A curator rejected it, or AWS Context rejected it when the review window of a policy that held it passed with no decision (statusReasonCodeREQUEST_EXPIRED). This status is final. -
SUPERSEDED- A newer proposal for the same document replaced this one. This status is final. -
PUBLISHING- The proposal was accepted, and AWS Context is publishing a change set that loads an ontology schema asynchronously. The status then changes toAPPROVEDorFAILED. A change set from anIMPORT_ONTOLOGYtask publishes synchronously when accepted, so its proposal never has this status. -
FAILED- The proposal was accepted, but publishing its change set failed. This status is final. To apply the change, submit it again. -
ARCHIVED- The connection that produced the proposal was removed from the agent context, andstatusReason.codeisCONNECTION_REMOVED. AWS Context moves a proposal fromPENDING_REVIEWtoARCHIVEDwithout any curator action. This status is final.
Accepting or rejecting a proposal that isn't PENDING_REVIEW fails with ConflictException,
unless it's a retry with the same clientToken. AWS Context can add values to this set, so handle a
status that you don't recognize.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic CurationProposalStatusUse this in place of valueOf to convert the raw string returned by the service into the enum value.static Set<CurationProposalStatus> toString()static CurationProposalStatusReturns the enum constant of this type with the specified name.static CurationProposalStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PENDING_REVIEW
-
APPROVED
-
REJECTED
-
SUPERSEDED
-
FAILED
-
PUBLISHING
-
ARCHIVED
-
UNKNOWN_TO_SDK_VERSION
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
toString
- Overrides:
toStringin classEnum<CurationProposalStatus>
-
fromValue
Use this in place of valueOf to convert the raw string returned by the service into the enum value.- Parameters:
value- real value- Returns:
- CurationProposalStatus corresponding to the value
-
knownValues
Use this in place ofvalues()to return aSetof all values known to the SDK. This will return all known enum values exceptUNKNOWN_TO_SDK_VERSION.- Returns:
- a
Setof knownCurationProposalStatuss
-