C - is the type of Elements to which the Strategy applies.public class SerialStrategy<C extends Element> extends InterruptibleStrategy<C>
| Modifier and Type | Class and Description |
|---|---|
static class |
SerialStrategy.Generator<C extends Element>
This class generates Strategy objects of the appropriate type.
|
| Modifier and Type | Field and Description |
|---|---|
protected DependencyStrategyHelper<C> |
dependencyStrategyHelper |
| Constructor and Description |
|---|
SerialStrategy() |
| 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.
|
StrategyGenerator<C> |
getGenerator() |
java.lang.String |
getName() |
interrupt, isInterrupted, proceedprotected DependencyStrategyHelper<C extends Element> dependencyStrategyHelper
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()
public StrategyGenerator<C> getGenerator()