Enum Class RuntimeType

java.lang.Object
java.lang.Enum<RuntimeType>
org.glassfish.api.admin.RuntimeType
All Implemented Interfaces:
Serializable, Comparable<RuntimeType>, java.lang.constant.Constable

public enum RuntimeType extends Enum<RuntimeType>
Defines a server process type.
Author:
Jerome Dochez
  • Enum Constant Details

    • DAS

      public static final RuntimeType DAS
      the Domain Administration Server
    • NODE_AGENT

      public static final RuntimeType NODE_AGENT
      the node agent process
    • INSTANCE

      public static final RuntimeType INSTANCE
      a single instance or a clustered instance ?need to dissambiguate?
    • EMBEDDED

      public static final RuntimeType EMBEDDED
      Embedded
    • SINGLE_INSTANCE

      public static final RuntimeType SINGLE_INSTANCE
      The local single instance on which the command will run
    • ALL

      public static final RuntimeType ALL
      All instances in the domain
  • Method Details

    • values

      public static RuntimeType[] 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 RuntimeType 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
    • isInstance

      public final boolean isInstance()
    • isDas

      public final boolean isDas()
    • isNodeAgent

      public final boolean isNodeAgent()
    • isEmbedded

      public final boolean isEmbedded()
    • isBroadcast

      public final boolean isBroadcast()
    • isSingleInstance

      public final boolean isSingleInstance()
    • getDefault

      public static final RuntimeType getDefault()