org.jboss.deployers.spi.management
Enum KnownDeploymentTypes

java.lang.Object
  extended by java.lang.Enum<KnownDeploymentTypes>
      extended by org.jboss.deployers.spi.management.KnownDeploymentTypes
All Implemented Interfaces:
Serializable, Comparable<KnownDeploymentTypes>

public enum KnownDeploymentTypes
extends Enum<KnownDeploymentTypes>

Enum for the known deployment types.

Version:
$Revision:$
Author:
Scott.Stark@jboss.org
See Also:
ManagedDeployment#getTypes()}

Enum Constant Summary
JavaEEApplication
           
JavaEEClientApplication
           
JavaEEEnterpriseBeans2x
           
JavaEEEnterpriseBeans3x
           
JavaEEPersistenceUnit
           
JavaEEResourceAdaptor
           
JavaEEWebApplication
           
JBossServices
           
MCBeans
           
OSGIBundle
           
SpringApplication
           
Unknown
           
 
Method Summary
 String getType()
          Get the simple deployment type string.
static KnownDeploymentTypes valueOf(String name)
          Returns the enum constant of this type with the specified name.
static KnownDeploymentTypes[] 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

JavaEEApplication

public static final KnownDeploymentTypes JavaEEApplication

JavaEEClientApplication

public static final KnownDeploymentTypes JavaEEClientApplication

JavaEEEnterpriseBeans2x

public static final KnownDeploymentTypes JavaEEEnterpriseBeans2x

JavaEEEnterpriseBeans3x

public static final KnownDeploymentTypes JavaEEEnterpriseBeans3x

JavaEEWebApplication

public static final KnownDeploymentTypes JavaEEWebApplication

JavaEEResourceAdaptor

public static final KnownDeploymentTypes JavaEEResourceAdaptor

JavaEEPersistenceUnit

public static final KnownDeploymentTypes JavaEEPersistenceUnit

JBossServices

public static final KnownDeploymentTypes JBossServices

MCBeans

public static final KnownDeploymentTypes MCBeans

OSGIBundle

public static final KnownDeploymentTypes OSGIBundle

SpringApplication

public static final KnownDeploymentTypes SpringApplication

Unknown

public static final KnownDeploymentTypes Unknown
Method Detail

values

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

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

valueOf

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

getType

public String getType()
Get the simple deployment type string. This is usually used as the associated deployment archive suffix.

Returns:
the simple deployment type string.


Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.