Package org.hyperledger.aries.webhook
Enum EventType
- java.lang.Object
-
- java.lang.Enum<EventType>
-
- org.hyperledger.aries.webhook.EventType
-
- All Implemented Interfaces:
Serializable,Comparable<EventType>
public enum EventType extends Enum<EventType>
List of aca-py webhook/websocket event types/topics.
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Optional<EventType>fromTopic(String topic)StringgetTopic()booleantopicEquals(String other)StringtoString()static EventTypevalueOf(String name)Returns the enum constant of this type with the specified name.static EventType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BASIC_MESSAGES
public static final EventType BASIC_MESSAGES
-
CONNECTIONS
public static final EventType CONNECTIONS
-
DISCOVER_FEATURE
public static final EventType DISCOVER_FEATURE
-
ENDORSE_TRANSACTION
public static final EventType ENDORSE_TRANSACTION
-
ISSUER_CRED_REV
public static final EventType ISSUER_CRED_REV
-
ISSUE_CREDENTIAL
public static final EventType ISSUE_CREDENTIAL
-
ISSUE_CREDENTIAL_V2
public static final EventType ISSUE_CREDENTIAL_V2
-
ISSUE_CREDENTIAL_V2_INDY
public static final EventType ISSUE_CREDENTIAL_V2_INDY
-
ISSUE_CREDENTIAL_V2_LD_PROOF
public static final EventType ISSUE_CREDENTIAL_V2_LD_PROOF
-
PING
public static final EventType PING
-
PRESENT_PROOF
public static final EventType PRESENT_PROOF
-
PRESENT_PROOF_V2
public static final EventType PRESENT_PROOF_V2
-
PROBLEM_REPORT
public static final EventType PROBLEM_REPORT
-
REVOCATION_NOTIFICATION
public static final EventType REVOCATION_NOTIFICATION
-
REVOCATION_NOTIFICATION_V2
public static final EventType REVOCATION_NOTIFICATION_V2
-
REVOCATION_REGISTRY
public static final EventType REVOCATION_REGISTRY
-
SETTINGS
public static final EventType SETTINGS
-
-
Method Detail
-
values
public static EventType[] 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 (EventType c : EventType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EventType 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
-
topicEquals
public boolean topicEquals(String other)
-
getTopic
public String getTopic()
-
-