Class DerivedDataComputationTask
java.lang.Object
com._1c.g5.v8.internal.derived.scheduler.DerivedDataComputationTask
Derived data computation task being used by the task scheduler DD subsystem. Holds the classification of the
task and the corresponding task object (could be specific depending on the supplier state)
-
Constructor Summary
ConstructorsConstructorDescriptionDerivedDataComputationTask
(Object task, TaskType type, boolean operation, boolean modal, DerivedDataSegmentBucket targetStage) Constructs the task. -
Method Summary
-
Constructor Details
-
DerivedDataComputationTask
public DerivedDataComputationTask(Object task, TaskType type, boolean operation, boolean modal, DerivedDataSegmentBucket targetStage) Constructs the task.- Parameters:
task
- The task object. Cannot benull
type
- The type of the task. Cannot benull
-
-
Method Details
-
getTask
Gets the associated task object.- Returns:
- The task object. Cannot be
null
-
getType
Gets the type of the task,- Returns:
- The type of the task. Cannot be
null
-
isModal
public boolean isModal()Checks if the task is the modal operation computation task- Returns:
- True if this task is the modal operation computation task
-
isOperation
public boolean isOperation()Checks if the task is an operation computation task- Returns:
- True if this task is a operation computation task
-
getTargetStage
Gets a target pipeline stage for this task- Returns:
- A target stage for the task. May not be
null
-