Enum Class StreamEventEnum

java.lang.Object
java.lang.Enum<StreamEventEnum>
io.github.guoshiqiufeng.dify.chat.enums.StreamEventEnum
All Implemented Interfaces:
Serializable, Comparable<StreamEventEnum>, Constable

public enum StreamEventEnum extends Enum<StreamEventEnum>
Since:
2025/4/15 19:47
Version:
1.0
Author:
yanghq
  • Enum Constant Details

    • workflow_started

      public static final StreamEventEnum workflow_started
      workflow started
    • node_started

      public static final StreamEventEnum node_started
      node started
    • node_finished

      public static final StreamEventEnum node_finished
      node finished
    • workflow_finished

      public static final StreamEventEnum workflow_finished
      workflow finished
    • parallel_branch_started

      public static final StreamEventEnum parallel_branch_started
      parallel_branch_started
    • parallel_branch_finished

      public static final StreamEventEnum parallel_branch_finished
      parallel_branch_finished
    • agent_log

      public static final StreamEventEnum agent_log
      agent_log
    • agent_message

      public static final StreamEventEnum agent_message
    • agent_thought

      public static final StreamEventEnum agent_thought
    • message

      public static final StreamEventEnum message
    • message_end

      public static final StreamEventEnum message_end
    • message_replace

      public static final StreamEventEnum message_replace
  • Method Details

    • values

      public static StreamEventEnum[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static StreamEventEnum valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getClazz

      public Class<? extends CompletionData> getClazz()