Package ai.shipeasy.admin.model
Enum ConnectorEvent
- All Implemented Interfaces:
Serializable,Comparable<ConnectorEvent>,java.lang.constant.Constable
Lifecycle event a connector subscribes to. `bug.created` fires when a new bug report lands in the feedback inbox; `feature_request.created` fires for a new feature request. A connector dispatches (posts to Slack / appends a Sheets row / files a GitHub Issue) — or, for trigger connectors, auto-fires a coding-agent run — once per subscribed event.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic ConnectorEventgetValue()toString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) static ConnectorEventReturns the enum constant of this type with the specified name.static ConnectorEvent[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
BUG_CREATED
-
FEATURE_REQUEST_CREATED
-
-
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
-
getValue
-
toString
- Overrides:
toStringin classEnum<ConnectorEvent>
-
fromValue
-
validateJsonElement
- Throws:
IOException
-