Enum Class ClientMethod

java.lang.Object
java.lang.Enum<ClientMethod>
dev.langchain4j.mcp.client.protocol.ClientMethod
All Implemented Interfaces:
Serializable, Comparable<ClientMethod>, Constable

public enum ClientMethod extends Enum<ClientMethod>
  • Enum Constant Details

    • INITIALIZE

      public static final ClientMethod INITIALIZE
    • TOOLS_CALL

      public static final ClientMethod TOOLS_CALL
    • TOOLS_LIST

      public static final ClientMethod TOOLS_LIST
    • NOTIFICATION_CANCELLED

      public static final ClientMethod NOTIFICATION_CANCELLED
    • NOTIFICATION_INITIALIZED

      public static final ClientMethod NOTIFICATION_INITIALIZED
  • Method Details

    • values

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