/** * Submits metadata about a given {@link JobState} and each of its {@link TaskState}s. This method will submit a * single event for the {@link JobState} called {@link #JOB_STATE_EVENT}. It will submit an event for each * {@link TaskState} called {@link #TASK_STATE_EVENT}. * * @param jobState is the {@link JobState} to emit events for */ public void submitJobExecutionEvents(JobState jobState) { submitJobStateEvent(jobState); submitTaskStateEvents(jobState); }
/** * Submits metadata about a given {@link JobState} and each of its {@link TaskState}s. This method will submit a * single event for the {@link JobState} called {@link #JOB_STATE_EVENT}. It will submit an event for each * {@link TaskState} called {@link #TASK_STATE_EVENT}. * * @param jobState is the {@link JobState} to emit events for */ public void submitJobExecutionEvents(JobState jobState) { submitJobStateEvent(jobState); submitTaskStateEvents(jobState); }