public class TorqueAdaptor extends ScriptingAdaptor
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ACCOUNTING_GRACE_TIME_PROPERTY
Timeout for waiting for the accounting info of a job to appear
|
static java.lang.String |
ADAPTOR_DESCRIPTION
Human readable description of this adaptor
|
private static ImmutableArray<java.lang.String> |
ADAPTOR_LOCATIONS
The locations supported by this adaptor
|
static java.lang.String |
ADAPTOR_NAME
The name of this adaptor
|
private static ImmutableArray<java.lang.String> |
ADAPTOR_SCHEMES
The schemes supported by this adaptor
|
static java.lang.String |
IGNORE_VERSION_PROPERTY
Should the grid engine version on the target machine be ignored ?
|
static java.lang.String |
POLL_DELAY_PROPERTY
Polling delay for jobs started by this adaptor.
|
static java.lang.String |
PREFIX
The prefix used by all properties related to this adaptor
|
private static ImmutableArray<XenonPropertyDescription> |
VALID_PROPERTIES
List of all properties supported by this adaptor
|
Constructor and Description |
---|
TorqueAdaptor(XenonEngine xenonEngine,
java.util.Map<java.lang.String,java.lang.String> properties)
Create a new TorqueAdaptor.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
getAdaptorSpecificInformation() |
credentialsAdaptor, end, filesAdaptor, jobsAdaptor
getAdaptorStatus, getName, getProperties, getSupportedLocations, getSupportedProperties, getSupportedProperties, getSupportedSchemes, getXenonEngine, supports, toString
public static final java.lang.String ADAPTOR_NAME
public static final java.lang.String PREFIX
private static final ImmutableArray<java.lang.String> ADAPTOR_SCHEMES
private static final ImmutableArray<java.lang.String> ADAPTOR_LOCATIONS
public static final java.lang.String IGNORE_VERSION_PROPERTY
public static final java.lang.String ACCOUNTING_GRACE_TIME_PROPERTY
public static final java.lang.String POLL_DELAY_PROPERTY
public static final java.lang.String ADAPTOR_DESCRIPTION
private static final ImmutableArray<XenonPropertyDescription> VALID_PROPERTIES
public TorqueAdaptor(XenonEngine xenonEngine, java.util.Map<java.lang.String,java.lang.String> properties) throws XenonException
properties
- the properties to use when creating the adaptor.xenonEngine
- the engine to which this adaptor belongs.XenonException
- if the adaptor creation fails.public java.util.Map<java.lang.String,java.lang.String> getAdaptorSpecificInformation()
getAdaptorSpecificInformation
in class Adaptor