public class ShiftrCompositeSpec extends ShiftrSpec implements OrderedCompositeSpec
Modifier and Type | Field and Description |
---|---|
private java.util.List<ShiftrSpec> |
computedChildren |
private static ComputedKeysComparator |
computedKeysComparator |
private ExecutionStrategy |
executionStrategy |
private java.util.Map<java.lang.String,ShiftrSpec> |
literalChildren |
private static java.util.HashMap<java.lang.Class,java.lang.Integer> |
orderMap |
private static SpecBuilder<ShiftrSpec> |
specBuilder |
private java.util.List<ShiftrSpec> |
specialChildren |
pathElement
Constructor and Description |
---|
ShiftrCompositeSpec(java.lang.String rawKey,
java.util.Map<java.lang.String,java.lang.Object> spec) |
Modifier and Type | Method and Description |
---|---|
boolean |
apply(java.lang.String inputKey,
Optional<java.lang.Object> inputOptional,
WalkedPath walkedPath,
java.util.Map<java.lang.String,java.lang.Object> output,
java.util.Map<java.lang.String,java.lang.Object> context)
If this Spec matches the inputKey, then perform one step in the Shiftr parallel treewalk.
|
ExecutionStrategy |
determineExecutionStrategy() |
java.util.List<ShiftrSpec> |
getComputedChildren() |
java.util.Map<java.lang.String,ShiftrSpec> |
getLiteralChildren() |
getPathElement
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPathElement
private static final java.util.HashMap<java.lang.Class,java.lang.Integer> orderMap
private static final ComputedKeysComparator computedKeysComparator
private static final SpecBuilder<ShiftrSpec> specBuilder
private final java.util.List<ShiftrSpec> specialChildren
private final java.util.Map<java.lang.String,ShiftrSpec> literalChildren
private final java.util.List<ShiftrSpec> computedChildren
private final ExecutionStrategy executionStrategy
public ShiftrCompositeSpec(java.lang.String rawKey, java.util.Map<java.lang.String,java.lang.Object> spec)
public java.util.Map<java.lang.String,ShiftrSpec> getLiteralChildren()
getLiteralChildren
in interface OrderedCompositeSpec
public java.util.List<ShiftrSpec> getComputedChildren()
getComputedChildren
in interface OrderedCompositeSpec
public ExecutionStrategy determineExecutionStrategy()
determineExecutionStrategy
in interface OrderedCompositeSpec
public boolean apply(java.lang.String inputKey, Optional<java.lang.Object> inputOptional, WalkedPath walkedPath, java.util.Map<java.lang.String,java.lang.Object> output, java.util.Map<java.lang.String,java.lang.Object> context)