Class ClusterTaskScheduler.StatusResult
- java.lang.Object
-
- fr.ens.biologie.genomique.eoulsan.core.schedulers.clusters.ClusterTaskScheduler.StatusResult
-
- Enclosing interface:
- ClusterTaskScheduler
public static final class ClusterTaskScheduler.StatusResult extends Object
This class define a Status result return by the statusJob() method of the interface.- Author:
- Laurent Jourdren
-
-
Constructor Summary
Constructors Constructor Description StatusResult(ClusterTaskScheduler.StatusValue statusValue)
Constructor.StatusResult(ClusterTaskScheduler.StatusValue statusValue, int exitCode)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getExitCode()
Return the exit code.ClusterTaskScheduler.StatusValue
getStatusValue()
Get status value.
-
-
-
Constructor Detail
-
StatusResult
public StatusResult(ClusterTaskScheduler.StatusValue statusValue)
Constructor.- Parameters:
statusValue
- status value
-
StatusResult
public StatusResult(ClusterTaskScheduler.StatusValue statusValue, int exitCode)
Constructor.- Parameters:
statusValue
- status valueexitCode
- exit code
-
-
Method Detail
-
getStatusValue
public ClusterTaskScheduler.StatusValue getStatusValue()
Get status value.- Returns:
- the status value
-
getExitCode
public int getExitCode()
Return the exit code.- Returns:
- the exit code
-
-