Enum Class NuggetCapability

java.lang.Object
java.lang.Enum<NuggetCapability>
org.j7m.middleware.operations.api.NuggetCapability
All Implemented Interfaces:
Serializable, Comparable<NuggetCapability>, Constable

public enum NuggetCapability extends Enum<NuggetCapability>
Public nugget operation capability.

Capability presence says only that a nugget knows how to evaluate a request. It is not authentication or authorization.

  • Enum Constant Details

    • READ_INFO

      public static final NuggetCapability READ_INFO
      Read safe nugget identity and configuration summary.
    • PIN_ADMISSION

      public static final NuggetCapability PIN_ADMISSION
      Evaluate a PIN admission request.
    • READ_RUNTIME_STATUS

      public static final NuggetCapability READ_RUNTIME_STATUS
      Report safe runtime status.
    • READ_ENVIRONMENT

      public static final NuggetCapability READ_ENVIRONMENT
      Report safe JVM and process environment status.
    • READ_DISK

      public static final NuggetCapability READ_DISK
      Report safe disk and storage-root status.
    • READ_HEALTH

      public static final NuggetCapability READ_HEALTH
      Report health status.
    • READ_READINESS

      public static final NuggetCapability READ_READINESS
      Report readiness status.
    • READ_TRANSPORTS

      public static final NuggetCapability READ_TRANSPORTS
      Report safe transport status.
    • READ_REGISTRY

      public static final NuggetCapability READ_REGISTRY
      Report safe registry status.
    • READ_REPOSITORY

      public static final NuggetCapability READ_REPOSITORY
      Report safe repository status.
    • READ_APPLICATIONS

      public static final NuggetCapability READ_APPLICATIONS
      Report safe hosted application status.
    • READ_OBJECTS

      public static final NuggetCapability READ_OBJECTS
      Report safe hosted object/service status.
    • READ_METRICS

      public static final NuggetCapability READ_METRICS
      Report bounded safe metrics.
    • READ_ERRORS

      public static final NuggetCapability READ_ERRORS
      Report bounded safe recent errors.
    • START_APPLICATION

      public static final NuggetCapability START_APPLICATION
      Plan or start hosted applications through the public deployer authority.
    • DRAIN_APPLICATION

      public static final NuggetCapability DRAIN_APPLICATION
      Drain hosted applications through the public deployer authority.
    • STOP_APPLICATION

      public static final NuggetCapability STOP_APPLICATION
      Stop hosted applications through the public deployer authority.
    • UNLOAD_APPLICATION

      public static final NuggetCapability UNLOAD_APPLICATION
      Unload hosted applications through the public deployer authority.
    • DRAIN_NUGGET

      public static final NuggetCapability DRAIN_NUGGET
      Drain the owning nugget and reject new mutating work where implemented.
    • SHUTDOWN_NUGGET

      public static final NuggetCapability SHUTDOWN_NUGGET
      Shut down the owning nugget through the runtime close path.
    • FORCE_TERMINATION

      public static final NuggetCapability FORCE_TERMINATION
      Evaluate explicitly enabled injected self-termination for the owning nugget.
    • DISCOVER_NUGGETS

      public static final NuggetCapability DISCOVER_NUGGETS
      Discover local and configured nugget administration endpoints.
  • Method Details

    • values

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