Enum ConnectorEvent

java.lang.Object
java.lang.Enum<ConnectorEvent>
ai.shipeasy.admin.model.ConnectorEvent
All Implemented Interfaces:
Serializable, Comparable<ConnectorEvent>, java.lang.constant.Constable

public enum ConnectorEvent extends Enum<ConnectorEvent>
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.
  • Enum Constant Details

    • BUG_CREATED

      public static final ConnectorEvent BUG_CREATED
    • FEATURE_REQUEST_CREATED

      public static final ConnectorEvent FEATURE_REQUEST_CREATED
  • Method Details

    • values

      public static ConnectorEvent[] 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

      public static ConnectorEvent 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
    • getValue

      public String getValue()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<ConnectorEvent>
    • fromValue

      public static ConnectorEvent fromValue(String value)
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      Throws:
      IOException