C - is the type of Elements to which the Strategy applies.public class DependencyStrategy<C extends Element> extends InterruptibleStrategy<C>
DependencyStrategyHelper with which it was
constructed.| Constructor and Description |
|---|
DependencyStrategy(DependencyStrategyHelper<C> helper) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<C> |
getCandidates(java.util.Collection<C> elements,
java.util.Collection<PodInstanceRequirement> dirtyAssets)
Returns the candidate element(s), if any, which may have work performed against them.
|
java.lang.String |
getName() |
interrupt, isInterrupted, proceedpublic DependencyStrategy(DependencyStrategyHelper<C> helper)
public java.util.Collection<C> getCandidates(java.util.Collection<C> elements, java.util.Collection<PodInstanceRequirement> dirtyAssets)
Strategyelements - the elements to be examined for candidacydirtyAssets - any asset names which already have work in progress elsewhere, which should not be returned by
this callpublic java.lang.String getName()