Package org.luwrain.core
Class JobsManager.Entry
java.lang.Object
org.luwrain.core.JobsManager.Entry
- All Implemented Interfaces:
Job,Job.Listener
- Enclosing class:
- JobsManager
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.luwrain.core.Job
Job.Listener, Job.Status -
Field Summary
Fields inherited from interface org.luwrain.core.Job
EXIT_CODE_INTERRUPTED, EXIT_CODE_INVALID, EXIT_CODE_OK -
Method Summary
Modifier and TypeMethodDescriptionintbooleanvoidonInfoChange(Job instance, String type, List<String> value) voidonStatusChange(Job instance) voidstop()toString()
-
Method Details
-
getInstanceName
- Specified by:
getInstanceNamein interfaceJob
-
getStatus
-
getExitCode
public int getExitCode()- Specified by:
getExitCodein interfaceJob
-
isFinishedSuccessfully
public boolean isFinishedSuccessfully()- Specified by:
isFinishedSuccessfullyin interfaceJob
-
getInfo
-
stop
public void stop() -
onInfoChange
- Specified by:
onInfoChangein interfaceJob.Listener
-
onStatusChange
- Specified by:
onStatusChangein interfaceJob.Listener
-
toString
-