org.glassfish.api.admin
Enum RuntimeType

java.lang.Object
  extended by java.lang.Enum<RuntimeType>
      extended by org.glassfish.api.admin.RuntimeType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<RuntimeType>

public enum RuntimeType
extends java.lang.Enum<RuntimeType>

Defines a server process type.

Author:
Jerome Dochez

Enum Constant Summary
ALL
          All instances in the domain
DAS
          the Domain Administration Server
EMBEDDED
          Embedded
INSTANCE
          a single instance or a clustered instance ?need to dissambiguate?
NODE_AGENT
          the node agent process
 
Method Summary
static RuntimeType getDefault()
           
 boolean isBroadcast()
           
 boolean isDas()
           
 boolean isEmbedded()
           
 boolean isInstance()
           
 boolean isNodeAgent()
           
static RuntimeType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static RuntimeType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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


ALL

public static final RuntimeType ALL
All instances in the domain

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(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.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()

getDefault

public static final RuntimeType getDefault()


Copyright © 2012 GlassFish Community. All Rights Reserved.