C - is the type of Elements to which the dependencies captured here apply.public class DependencyStrategyHelper<C extends Element>
extends java.lang.Object
DependencyStrategyHelper exists to aid in the construction of Strategy objects which describe a
set of dependencies between constituent elements.| Modifier and Type | Class and Description |
|---|---|
static class |
DependencyStrategyHelper.InvalidDependencyException
An
DependencyStrategyHelper.InvalidDependencyException is thrown when an attempt generate an invalid dependency occurs. |
| Constructor and Description |
|---|
DependencyStrategyHelper() |
DependencyStrategyHelper(java.util.Collection<C> elements) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDependency(C child,
C parent) |
void |
addElement(C element) |
java.util.Collection<C> |
getCandidates(boolean isInterrupted,
java.util.Collection<PodInstanceRequirement> dirtyAssets) |
java.util.Map<C,java.util.Set<C>> |
getDependencies() |
public DependencyStrategyHelper()
public DependencyStrategyHelper(java.util.Collection<C> elements)
public void addElement(C element) throws DependencyStrategyHelper.InvalidDependencyException
public java.util.Collection<C> getCandidates(boolean isInterrupted, java.util.Collection<PodInstanceRequirement> dirtyAssets)