Enum RuntimeType

    • Enum Constant Detail

      • 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
      • MICRO

        public static final RuntimeType MICRO
        A Payara Micro Instance
    • Method Detail

      • values

        public static RuntimeType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (RuntimeType c : RuntimeType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static RuntimeType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type 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()
      • isMicro

        public final boolean isMicro()