Enum Class EngineCapability

java.lang.Object
java.lang.Enum<EngineCapability>
io.github.protasm.jvmud.engine.mudlib.EngineCapability
All Implemented Interfaces:
Serializable, Comparable<EngineCapability>, Constable

public enum EngineCapability extends Enum<EngineCapability>
Host-resource capabilities that are not exposed to a mudlib unless its manifest opts in.
  • Enum Constant Details

    • MUDLIB_FILES

      public static final EngineCapability MUDLIB_FILES
      Read and mutate files below the configured mudlib root.
    • DATABASE

      public static final EngineCapability DATABASE
      Open and use configured database connections.
    • SESSION_CONTROL

      public static final EngineCapability SESSION_CONTROL
      Inspect and rebind connected sessions.
    • HOST_CONTROL

      public static final EngineCapability HOST_CONTROL
      Request hosted-world transfer, shutdown, or similar instance-level control.
  • Method Details

    • values

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