Class DerivedDataComputationTask

java.lang.Object
com._1c.g5.v8.internal.derived.scheduler.DerivedDataComputationTask

public class DerivedDataComputationTask extends Object
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 Details

    • DerivedDataComputationTask

      public DerivedDataComputationTask(Object task, TaskType type, boolean operation, boolean modal, DerivedDataSegmentBucket targetStage)
      Constructs the task.
      Parameters:
      task - The task object. Cannot be null
      type - The type of the task. Cannot be null
  • Method Details

    • getTask

      public Object getTask()
      Gets the associated task object.
      Returns:
      The task object. Cannot be null
    • getType

      public TaskType 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

      public DerivedDataSegmentBucket getTargetStage()
      Gets a target pipeline stage for this task
      Returns:
      A target stage for the task. May not be null