org.gwe.drivers.resManagers
Class CommandLineResourceManagerDriver
java.lang.Object
org.gwe.drivers.resManagers.ResourceManagerDriver
org.gwe.drivers.resManagers.CommandLineResourceManagerDriver
- Direct Known Subclasses:
- BsubDriver, CondorDriver, MultiProcessesDriver, QsubDriver
public abstract class CommandLineResourceManagerDriver
- extends ResourceManagerDriver
- Since:
- Oct 26, 2008
- Author:
- Marco Ruiz
Constructor Summary |
CommandLineResourceManagerDriver(java.lang.String discoveryCommand,
java.lang.String submissionCommand,
java.lang.String submissionTemplateFile)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
discoveryCommand
protected java.lang.String discoveryCommand
submissionCommand
protected java.lang.String submissionCommand
template
protected java.lang.String template
CommandLineResourceManagerDriver
public CommandLineResourceManagerDriver(java.lang.String discoveryCommand,
java.lang.String submissionCommand,
java.lang.String submissionTemplateFile)
isSupportedJobManagerAvailable
public boolean isSupportedJobManagerAvailable()
- Specified by:
isSupportedJobManagerAvailable
in class ResourceManagerDriver
queueAllocationRequest
public java.lang.String queueAllocationRequest(AllocationInfo alloc)
throws ResourceAllocationException
- Specified by:
queueAllocationRequest
in class ResourceManagerDriver
- Throws:
ResourceAllocationException
extractIdFromSubmissionOutput
protected abstract java.lang.String extractIdFromSubmissionOutput(java.lang.String[] results)
writeSubmitFile
protected java.lang.String writeSubmitFile(AllocationInfo alloc)
throws ResourceAllocationException
- Throws:
ResourceAllocationException
getSubmitContent
protected final java.lang.String getSubmitContent(AllocationInfo alloc)
Copyright © 2007-2009. All Rights Reserved.