Class RefreshableJobDefinition

java.lang.Object
com.aquima.interactions.process.impl.RefreshableJobDefinition

public class RefreshableJobDefinition extends Object
Describes a background job to evaluate a case.
Since:
9.9
Author:
Petru Galanton
  • Constructor Details

    • RefreshableJobDefinition

      public RefreshableJobDefinition(long caseId, DateTimeValue referenceTime)
  • Method Details

    • getCaseId

      public long getCaseId()
      Returns the ID of the case which should be evaluated as part of this job.
      Returns:
      the case ID.
    • getReferenceTime

      public DateTimeValue getReferenceTime()
      Returns the reference time for timer evaluation. The reference time is typically when this job was created rather than when it is executed.
      Returns:
      the reference time for timer evaluation.
    • isTimerEvaluationRequired

      public boolean isTimerEvaluationRequired()
      Indicates whether timers should be evaluated in this job.
      Returns:
      true if timers need to be evaluated, false otherwise.
    • setTimerEvaluationRequired

      public void setTimerEvaluationRequired(boolean required)
      Sets that timer evaluation is required for this job.
      Parameters:
      required - true if required, false otherwise.
    • isPriorityEvaluationRequired

      public boolean isPriorityEvaluationRequired()
      Indicates whether task priorities need to be evaluated in this job.
      Returns:
      true if task priorities need to be evaluated, false otherwise.
    • getTasksForPriorityEvaluation

      public String[] getTasksForPriorityEvaluation()
      Returns the node IDs of tasks whose priority should be evaluated.
      Returns:
      the node IDs (never null)
    • setTasksForPriorityEvaluation

      public void setTasksForPriorityEvaluation(String[] nodeIds)
      Sets the node IDs of tasks whose priority should be evaluated.
      Parameters:
      nodeIds - the nodeIds (persistency ids) (not null)