compbio.engine
Class Configurator
java.lang.Object
compbio.engine.Configurator
public class Configurator
- extends Object
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 String LOCAL_WORK_DIRECTORY
CLUSTER_WORK_DIRECTORY
public static final 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,
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(String taskId)
getSyncEngine
public static SyncExecutor getSyncEngine(ConfiguredExecutable<?> executable)
throws JobSubmissionException
- Throws:
JobSubmissionException
getWorkDirectory
public static String getWorkDirectory(String taskId)