org.jboss.deployers.plugins.sort
Class DeployerDomino

java.lang.Object
  extended by org.jboss.deployers.plugins.sort.DeployerDomino
All Implemented Interfaces:
Domino<Set<String>>, Ordered

public class DeployerDomino
extends Object
implements Domino<Set<String>>

Representing deployer as a domino.

Author:
Ales Justin

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.deployers.spi.Ordered
Ordered.OrderedComparator
 
Field Summary
 
Fields inherited from interface org.jboss.deployers.spi.Ordered
COMPARATOR
 
Constructor Summary
DeployerDomino(Deployer deployer)
           
 
Method Summary
 Deployer getDeployer()
          Get the underlying deployer.
 Dots<Set<String>> getHead()
          Head dots.
 String getInfo()
          Get the info.
 int getRelativeOrder()
          Get the relative order
 Dots<Set<String>> getTail()
          Tail dots.
 void setRelativeOrder(int order)
          Set the relative order.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeployerDomino

public DeployerDomino(Deployer deployer)
Method Detail

getDeployer

public Deployer getDeployer()
Get the underlying deployer.

Returns:
the deployer

getHead

public Dots<Set<String>> getHead()
Description copied from interface: Domino
Head dots.

Specified by:
getHead in interface Domino<Set<String>>
Returns:
head

getTail

public Dots<Set<String>> getTail()
Description copied from interface: Domino
Tail dots.

Specified by:
getTail in interface Domino<Set<String>>
Returns:
tail

getRelativeOrder

public int getRelativeOrder()
Description copied from interface: Ordered
Get the relative order

Specified by:
getRelativeOrder in interface Ordered
Returns:
the relative order

setRelativeOrder

public void setRelativeOrder(int order)
Description copied from interface: Ordered
Set the relative order.

Specified by:
setRelativeOrder in interface Ordered
Parameters:
order - the order

getInfo

public String getInfo()
Description copied from interface: Domino
Get the info.

Specified by:
getInfo in interface Domino<Set<String>>
Returns:
info string

toString

public String toString()
Overrides:
toString in class Object


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