Enum Class LocalAgentClient

java.lang.Object
java.lang.Enum<LocalAgentClient>
com.shaft.pilot.agent.LocalAgentClient
All Implemented Interfaces:
Serializable, Comparable<LocalAgentClient>, Constable

public enum LocalAgentClient extends Enum<LocalAgentClient>
Supported local agent frontends for SHAFT Autobot routing.
  • Enum Constant Details

  • Method Details

    • values

      public static LocalAgentClient[] 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 LocalAgentClient 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
    • executableName

      public String executableName()
      Returns the executable name used by default command discovery.
      Returns:
      executable name
    • displayName

      public String displayName()
      Returns a human-readable client name.
      Returns:
      display name
    • from

      public static LocalAgentClient from(String value)
      Parses user input into a local agent client.
      Parameters:
      value - client id, enum name, or display name
      Returns:
      matching client