org.jboss.deployers.spi.deployer
Class DeploymentStage

java.lang.Object
  extended by org.jboss.deployers.spi.deployer.DeploymentStage
All Implemented Interfaces:
Serializable

public class DeploymentStage
extends Object
implements Serializable

DeploymentStage.

Version:
$Revision: 1.1 $
Author:
Adrian Brock
See Also:
Serialized Form

Constructor Summary
DeploymentStage(String name)
          Create a new DeploymentStage.
DeploymentStage(String name, DeploymentStage after)
          Create a new DeploymentStage.
DeploymentStage(String name, DeploymentStage after, DeploymentStage before)
          Create a new DeploymentStage.
DeploymentStage(String name, String after)
          Create a new DeploymentStage.
DeploymentStage(String name, String after, String before)
          Create a new DeploymentStage.
 
Method Summary
 boolean equals(Object obj)
           
 String getAfter()
          Get the after.
 String getBefore()
          Get the before.
 String getName()
          Get the name.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeploymentStage

public DeploymentStage(String name)
Create a new DeploymentStage.

Parameters:
name - the name of the stage
Throws:
IllegalArgumentException - for a null name

DeploymentStage

public DeploymentStage(String name,
                       String after)
Create a new DeploymentStage.

Parameters:
name - the name of the stage
after - the name of the stage before our stage
Throws:
IllegalArgumentException - for a null name

DeploymentStage

public DeploymentStage(String name,
                       DeploymentStage after)
Create a new DeploymentStage.

Parameters:
name - the name of the stage
after - the stage before our stage
Throws:
IllegalArgumentException - for a null parameter

DeploymentStage

public DeploymentStage(String name,
                       DeploymentStage after,
                       DeploymentStage before)
Create a new DeploymentStage.

Parameters:
name - the name of the stage
after - he stage before our stage
before - the stage after our stage
Throws:
IllegalArgumentException - for a null parameter

DeploymentStage

public DeploymentStage(String name,
                       String after,
                       String before)
Create a new DeploymentStage.

Parameters:
name - the name of the stage
after - the name of the stage before our stage
before - the name of the stage after our stage
Throws:
IllegalArgumentException - for a null name
Method Detail

getName

public String getName()
Get the name.

Returns:
the name.

getAfter

public String getAfter()
Get the after.

Returns:
the after.

getBefore

public String getBefore()
Get the before.

Returns:
the before.

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


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