@OpenApiAll
public interface Job
IdleJobService
Modifier and Type | Method and Description |
---|---|
void |
execute(ProgressStatus progressStatus)
Executes the work.
|
void |
finished()
Cleanup should be done here after the job is finished.
|
java.lang.String |
getName()
Human-readable name of the job to display to the user in GUI.
|
boolean |
needsExecute()
Indicates if the job needs to be executed.
|
boolean needsExecute()
void execute(ProgressStatus progressStatus) throws java.lang.Exception
progressStatus
- progress status to indicate work pace.java.lang.Exception
void finished()
java.lang.String getName()