public class DeployableChain<T>
extends java.lang.Object
| Constructor and Description |
|---|
DeployableChain() |
| Modifier and Type | Method and Description |
|---|---|
void |
addRelationship(java.lang.String before,
java.lang.String after)
Adds a before/after relationship to the active constraints.
|
void |
deploy(Deployable deployable)
Deploy a Deployable into this chain.
|
java.util.List<T> |
getChain()
Get the chain - once rebuild() has been called this will be the chain of target objects.
|
void |
rebuild()
Taking into account all the active constraints, order the list.
|
public void deploy(Deployable deployable) throws java.lang.Exception
deployable - Deployable to deploy.java.lang.Exception - if there is a deployment error.public void rebuild()
throws java.lang.Exception
java.lang.Exception - if there's an ordering conflictpublic void addRelationship(java.lang.String before,
java.lang.String after)
before - name of the Deployable that must come firstafter - name of the Deployable that must come laterpublic java.util.List<T> getChain()
Copyright © 2004-2018 The Apache Software Foundation. All Rights Reserved.