Enum Class ClientCommand.Placement

java.lang.Object
java.lang.Enum<ClientCommand.Placement>
dev.miyomiyo.agentbridge.client.ClientCommand.Placement
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ClientCommand.Placement>, java.lang.constant.Constable
Enclosing interface:
ClientCommand

public static enum ClientCommand.Placement extends java.lang.Enum<ClientCommand.Placement>
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    A child of the assistant command: /ai name.
    A top-level client command: /name.
  • Method Summary

    Modifier and Type
    Method
    Description
    valueOf(java.lang.String name)
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Enum

    clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

  • Method Details

    • values

      public static ClientCommand.Placement[] 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 ClientCommand.Placement valueOf(java.lang.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:
      java.lang.IllegalArgumentException - if this enum class has no constant with the specified name
      java.lang.NullPointerException - if the argument is null