org.codehaus.cargo.container.deployable
Class DeployableType

java.lang.Object
  extended byorg.codehaus.cargo.container.deployable.DeployableType

public final class DeployableType
extends java.lang.Object

Type of Depoyable. Can be WAR, EAR, EXPANDED_WAR, etc.

Version:
$Id: Deployable.java 314 2005-04-08 08:34:02Z vmassol $

Field Summary
static DeployableType EAR
          The EAR deployable type.
static DeployableType EJB
          The EJB deployable type.
static DeployableType WAR
          The WAR deployable type.
 
Method Summary
 boolean equals(java.lang.Object object)
          
 java.lang.String getType()
           
 int hashCode()
          
 java.lang.String toString()
          
static DeployableType toType(java.lang.String typeAsString)
          Transform a type represented as a string into a DeployableType object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

WAR

public static final DeployableType WAR
The WAR deployable type.


EAR

public static final DeployableType EAR
The EAR deployable type.


EJB

public static final DeployableType EJB
The EJB deployable type.

Method Detail

toType

public static DeployableType toType(java.lang.String typeAsString)
Transform a type represented as a string into a DeployableType object.

Parameters:
typeAsString - the string to transform
Returns:
the DeployableType object

equals

public boolean equals(java.lang.Object object)

See Also:
Object.equals(Object)

hashCode

public int hashCode()

See Also:
Object.hashCode()

getType

public java.lang.String getType()
Returns:
the deployable type

toString

public java.lang.String toString()

See Also:
Object.toString()


Copyright © 2004-2008 Codehaus. All Rights Reserved.