Enum PluginAction

java.lang.Object
java.lang.Enum<PluginAction>
io.confluent.flink.plugin.PluginAction
All Implemented Interfaces:
Serializable, Comparable<PluginAction>, java.lang.constant.Constable

public enum PluginAction extends Enum<PluginAction>
Lifecycle actions for CI/CD integration.
  • Enum Constant Details

    • LIST

      public static final PluginAction LIST
      List statements.
    • DESCRIBE

      public static final PluginAction DESCRIBE
      Describe a statement (show full JSON).
    • RESUME

      public static final PluginAction RESUME
      Resume a stopped statement.
    • STOP

      public static final PluginAction STOP
      Stop a running statement.
    • DELETE

      public static final PluginAction DELETE
      Delete a statement.
  • Method Details

    • values

      public static PluginAction[] 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 PluginAction 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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<PluginAction>
    • parse

      public static PluginAction parse(String value)
      Parses a string value to the corresponding PluginAction.
      Parameters:
      value - the action string (e.g., "stop", "delete")
      Returns:
      the matching PluginAction
      Throws:
      ConfluentFlinkException - if the value doesn't match any action
    • isAction

      public static boolean isAction(String value)
      Returns true if value matches a known action (case-insensitive).