Package org.luwrain.core
Class EmptyJobInstance
java.lang.Object
org.luwrain.core.EmptyJobInstance
- All Implemented Interfaces:
Job.Instance
-
Field Summary
-
Constructor Summary
ConstructorDescriptionEmptyJobInstance
(String name) EmptyJobInstance
(Job.Listener listener, String name) -
Method Summary
-
Field Details
-
listener
-
name
-
info
-
-
Constructor Details
-
EmptyJobInstance
-
EmptyJobInstance
-
-
Method Details
-
getInstanceName
- Specified by:
getInstanceName
in interfaceJob.Instance
-
getStatus
- Specified by:
getStatus
in interfaceJob.Instance
-
getExitCode
public int getExitCode()- Specified by:
getExitCode
in interfaceJob.Instance
-
isFinishedSuccessfully
public boolean isFinishedSuccessfully()- Specified by:
isFinishedSuccessfully
in interfaceJob.Instance
-
setInfo
-
getInfo
- Specified by:
getInfo
in interfaceJob.Instance
-
stop
public void stop(int exitCode) -
stop
public void stop()- Specified by:
stop
in interfaceJob.Instance
-