compbio.engine
Class Configurator

java.lang.Object
  extended by compbio.engine.Configurator

public class Configurator
extends Object


Field Summary
static String CLUSTER_WORK_DIRECTORY
           
static boolean IS_CLUSTER_ENGINE_ENABLED
           
static boolean IS_LOCAL_ENGINE_ENABLED
           
static String LOCAL_WORK_DIRECTORY
           
 
Constructor Summary
Configurator()
           
 
Method Summary
static
<T> ConfiguredExecutable<T>
configureExecutable(Executable<T> executable)
           
static
<T> ConfiguredExecutable<T>
configureExecutable(Executable<T> executable, Executable.ExecProvider provider)
           
static
<T> ConfiguredExecutable<T>
configureExecutable(Executable<T> executable, List<FastaSequence> dataSet)
           
static AsyncExecutor getAsyncEngine(ConfiguredExecutable<?> executable)
           
static AsyncExecutor getAsyncEngine(ConfiguredExecutable<?> executable, Executable.ExecProvider provider)
           
static AsyncExecutor getAsyncEngine(String taskId)
           
static SyncExecutor getSyncEngine(ConfiguredExecutable<?> executable)
           
static SyncExecutor getSyncEngine(ConfiguredExecutable<?> executable, Executable.ExecProvider provider)
           
static String getWorkDirectory(String taskId)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

Configurator

public Configurator()
Method Detail

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)