protected abstract class SelectorTransform.Context extends Task.Context
Constructor and Description |
---|
Context(ResultValue resultValue,
Batch batch)
Constructs an instance.
|
Modifier and Type | Method and Description |
---|---|
Optional<? extends PointValue> |
getCurrentStep()
Gets the current step.
|
Optional<? extends PointValue> |
getFirstStep()
Gets the first step.
|
int[] |
getInputLimits()
Gets input limits.
|
Optional<? extends PointValue> |
getLastStep()
Gets the last step.
|
Optional<? extends PointValue> |
getNextStep()
Gets the next step.
|
Optional<? extends PointValue> |
getPreviousStep()
Gets the previous step.
|
protected Optional<Selection> |
getSelection()
Gets the selection.
|
Optional<? extends PointValue> |
getStart()
Gets the start point value for the interval.
|
Long |
getStepNumber()
Gets the current step number in the iteration.
|
Optional<PointValue> |
getStop()
Gets the stop point value for the interval.
|
protected boolean |
nextStep()
Returns the next step.
|
addUpdate, cancel, getDateTimeContext, getFailReturnsNull, getInputValue, getLogger, getMemoryValue, getNormalizedInputValue, getNormalizedResultValue, getParamValue, getResult, getResultPoint, getStoredValue, setInputValue, setMemoryValue, setTimeZone, update
public Context(@Nonnull ResultValue resultValue, @Nonnull Batch batch)
resultValue
- The requested result value.batch
- The current batch context.@Nonnull @CheckReturnValue public Optional<? extends PointValue> getCurrentStep()
@Nonnull @CheckReturnValue public Optional<? extends PointValue> getFirstStep()
public int[] getInputLimits()
getInputLimits
in class Task.Context
@Nonnull @CheckReturnValue public Optional<? extends PointValue> getLastStep()
@Nonnull @CheckReturnValue public Optional<? extends PointValue> getNextStep()
@Nonnull @CheckReturnValue public Optional<? extends PointValue> getPreviousStep()
@Nonnull @CheckReturnValue public Optional<? extends PointValue> getStart()
@Nonnull @CheckReturnValue public Long getStepNumber()
The step number is 0 in the initial program, 1 to the total number of steps in the step program and 1 more in the final program.
@Nonnull @CheckReturnValue public Optional<PointValue> getStop()
@Nonnull @CheckReturnValue protected Optional<Selection> getSelection()
@CheckReturnValue protected boolean nextStep()
Copyright © 2003-2019 Serge Brisson. All Rights Reserved.