org.glassfish.paas.orchestrator.provisioning.cli
Enum ServiceType

java.lang.Object
  extended by java.lang.Enum<ServiceType>
      extended by org.glassfish.paas.orchestrator.provisioning.cli.ServiceType
All Implemented Interfaces:
Serializable, Comparable<ServiceType>

public enum ServiceType
extends Enum<ServiceType>


Enum Constant Summary
APPLICATION_SERVER
           
DATABASE
           
DNS
           
LB
           
MQ
           
 
Method Summary
static ServiceType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ServiceType[] 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

APPLICATION_SERVER

public static final ServiceType APPLICATION_SERVER

DATABASE

public static final ServiceType DATABASE

LB

public static final ServiceType LB

MQ

public static final ServiceType MQ

DNS

public static final ServiceType DNS
Method Detail

values

public static ServiceType[] 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 (ServiceType c : ServiceType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ServiceType 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


Copyright © 2012. All Rights Reserved.