/** * Generated by API Builder - https://www.apibuilder.io * Service version: 2.0.0-dev * User agent: apibuilder app.apibuilder.io/hbc/svc-sundial/2.0.0-dev/java_models */ package com.hbc.svc.sundial.v2.models; /** * An individual task that runs as part of a process */ public class TaskDefinition { /** * The canonical name for this task used by other tasks to identify this task */ private String taskDefinitionName; /** * The tasks that must have completed prior to this one beginning */ private java.util.List dependencies; private TaskExecutable executable; private int maxAttempts; /** * The execution time (for a single attempt) after which the system will kill the task */ private int maxRuntimeSeconds; private int backoffBaseSeconds; private double backoffExponent = 1.0; /** * If true, the task must explicitly update its status with Sundial in order to succeed. */ private boolean requireExplicitSuccess = false; public TaskDefinition() {} }