Class ExecuteTaskPrecondition

java.lang.Object
ca.uhn.fhir.jpa.migrate.taskdef.ExecuteTaskPrecondition

public class ExecuteTaskPrecondition extends Object
Contains a pre-built precondition to evaluate once BaseTask.execute() is called.

Includes both a Supplier containing the logic to determine if the precondition evaluates to true or false and a reason String to output to the logs if the precondition evaluates to false and halts execution of the task.