compbio.engine.local
Class LocalEngineUtil

java.lang.Object
  extended by compbio.engine.local.LocalEngineUtil

public final class LocalEngineUtil
extends Object


Constructor Summary
LocalEngineUtil()
           
 
Method Summary
static boolean cancelJob(Future<ConfiguredExecutable<?>> future, String workDirectory)
           
static boolean cleanup(ConfiguredExecutable<?> confExecutable)
           
static JobStatus getJobStatus(Future<ConfiguredExecutable<?>> future)
           
static JobStatus getRecordedJobStatus(String jobId)
           
static ConfiguredExecutable<?> getResults(Future<ConfiguredExecutable<?>> future, String taskId)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalEngineUtil

public LocalEngineUtil()
Method Detail

cancelJob

public static boolean cancelJob(Future<ConfiguredExecutable<?>> future,
                                String workDirectory)

getJobStatus

public static JobStatus getJobStatus(Future<ConfiguredExecutable<?>> future)

getRecordedJobStatus

public static JobStatus getRecordedJobStatus(String jobId)

cleanup

public static boolean cleanup(ConfiguredExecutable<?> confExecutable)

getResults

public static ConfiguredExecutable<?> getResults(Future<ConfiguredExecutable<?>> future,
                                                 String taskId)
                                          throws ResultNotAvailableException
Throws:
ResultNotAvailableException