Enum PresentationExchangeState

    • Enum Constant Detail

      • PROPOSAL_SENT

        @SerializedName(value="proposal_sent",
                        alternate="proposal-sent")
        public static final PresentationExchangeState PROPOSAL_SENT
      • PROPOSAL_RECEIVED

        @SerializedName(value="proposal_received",
                        alternate="proposal-received")
        public static final PresentationExchangeState PROPOSAL_RECEIVED
      • REQUEST_SENT

        @SerializedName(value="request_sent",
                        alternate="request-sent")
        public static final PresentationExchangeState REQUEST_SENT
      • REQUEST_RECEIVED

        @SerializedName(value="request_received",
                        alternate="request-received")
        public static final PresentationExchangeState REQUEST_RECEIVED
      • PRESENTATIONS_SENT

        @SerializedName(value="presentation_sent",
                        alternate="presentation-sent")
        public static final PresentationExchangeState PRESENTATIONS_SENT
      • PRESENTATION_RECEIVED

        @SerializedName(value="presentation_received",
                        alternate="presentation-received")
        public static final PresentationExchangeState PRESENTATION_RECEIVED
      • PRESENTATION_ACKED

        @SerializedName("presentation_acked")
        public static final PresentationExchangeState PRESENTATION_ACKED
        V1 state only
      • DECLINED

        @SerializedName("declined")
        public static final PresentationExchangeState DECLINED
        Not an aries state, can be used in a manual proof exchange to mark the state as declined if the request was not accepted
    • Method Detail

      • values

        public static PresentationExchangeState[] 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 (PresentationExchangeState c : PresentationExchangeState.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static PresentationExchangeState 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 name
        NullPointerException - if the argument is null