compbio.engine
Class Configurator
java.lang.Object
compbio.engine.Configurator
public class Configurator
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IS_LOCAL_ENGINE_ENABLED
public static final boolean IS_LOCAL_ENGINE_ENABLED
IS_CLUSTER_ENGINE_ENABLED
public static final boolean IS_CLUSTER_ENGINE_ENABLED
LOCAL_WORK_DIRECTORY
public static final java.lang.String LOCAL_WORK_DIRECTORY
CLUSTER_WORK_DIRECTORY
public static final java.lang.String CLUSTER_WORK_DIRECTORY
Configurator
public Configurator()
configureExecutable
public static <T> ConfiguredExecutable<T> configureExecutable(Executable<T> executable)
throws JobSubmissionException
- Throws:
JobSubmissionException
configureExecutable
public static <T> ConfiguredExecutable<T> configureExecutable(Executable<T> executable,
java.util.List<FastaSequence> dataSet)
throws JobSubmissionException
- Throws:
JobSubmissionException
configureExecutable
public static <T> ConfiguredExecutable<T> configureExecutable(Executable<T> executable,
Executable.ExecProvider provider)
throws JobSubmissionException
- Throws:
JobSubmissionException
getAsyncEngine
public static AsyncExecutor getAsyncEngine(ConfiguredExecutable<?> executable,
Executable.ExecProvider provider)
getSyncEngine
public static SyncExecutor getSyncEngine(ConfiguredExecutable<?> executable,
Executable.ExecProvider provider)
throws JobSubmissionException
- Throws:
JobSubmissionException
getAsyncEngine
public static AsyncExecutor getAsyncEngine(ConfiguredExecutable<?> executable)
getAsyncEngine
public static AsyncExecutor getAsyncEngine(java.lang.String taskId)
getSyncEngine
public static SyncExecutor getSyncEngine(ConfiguredExecutable<?> executable)
throws JobSubmissionException
- Throws:
JobSubmissionException
getWorkDirectory
public static java.lang.String getWorkDirectory(java.lang.String taskId)