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 TypeMethodDescriptionint
boolean
void
onInfoChange
(Job instance, String type, List<String> value) void
onStatusChange
(Job instance) void
stop()
toString()
-
Method Details
-
getInstanceName
- Specified by:
getInstanceName
in interfaceJob
-
getStatus
-
getExitCode
public int getExitCode()- Specified by:
getExitCode
in interfaceJob
-
isFinishedSuccessfully
public boolean isFinishedSuccessfully()- Specified by:
isFinishedSuccessfully
in interfaceJob
-
getInfo
-
stop
public void stop() -
onInfoChange
- Specified by:
onInfoChange
in interfaceJob.Listener
-
onStatusChange
- Specified by:
onStatusChange
in interfaceJob.Listener
-
toString
-