public class SshSchedulerAdaptor extends SchedulerAdaptor
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ADAPTOR_DESCRIPTION
A description of this adaptor
|
private static java.lang.String[] |
ADAPTOR_LOCATIONS
The locations supported by this adaptor
|
static java.lang.String |
ADAPTOR_NAME
The name of this adaptor
|
static java.lang.String |
AGENT
Enable the use of an ssh-agent
|
static java.lang.String |
AGENT_FORWARDING
Enable the use of ssh-agent-forwarding
|
static java.lang.String |
AUTOMATICALLY_ADD_HOST_KEY
Enable strict host key checking.
|
static int |
DEFAULT_PORT
The default SSH port
|
static java.lang.String |
GATEWAY
Add gateway to access machine.
|
static java.lang.String |
INFO
Ssh adaptor information start with this prefix.
|
static java.lang.String |
JOBS
Ssh job information start with this prefix.
|
static java.lang.String |
LOAD_SSH_CONFIG
Load the OpenSSH config file by default.
|
static java.lang.String |
LOAD_STANDARD_KNOWN_HOSTS
Load the known_hosts file by default.
|
private static org.slf4j.Logger |
LOGGER |
static java.lang.String |
MAX_HISTORY
Maximum history length for finished jobs
|
static java.lang.String |
MULTIQ
Local multi queue properties start with this prefix.
|
static java.lang.String |
MULTIQ_MAX_CONCURRENT
Property for the maximum number of concurrent jobs in the multi queue.
|
static java.lang.String |
POLLING_DELAY
Property for maximum history length for finished jobs
|
static java.lang.String |
PREFIX
All our own properties start with this prefix.
|
static java.lang.String |
QUEUE
All our own queue properties start with this prefix.
|
static java.lang.String |
SSH_CONFIG_FILE
OpenSSH config filename.
|
static java.lang.String |
STRICT_HOST_KEY_CHECKING
Enable strict host key checking.
|
static java.lang.String |
SUBMITTED
How many jobs have been submitted using this adaptor.
|
static java.lang.String |
TIMEOUT
Add gateway to access machine.
|
private static XenonPropertyDescription[] |
VALID_PROPERTIES
List of properties supported by this SSH adaptor
|
ADAPTORS_PREFIX
Constructor and Description |
---|
SshSchedulerAdaptor() |
Modifier and Type | Method and Description |
---|---|
Scheduler |
createScheduler(java.lang.String location,
Credential credential,
java.util.Map<java.lang.String,java.lang.String> properties) |
java.lang.Class[] |
getSupportedCredentials()
Get the supported credential types for this adaptor.
|
boolean |
isEmbedded()
Is this an embedded scheduler ?
Embedded schedulers are implemented inside the Xenon process itself.
|
boolean |
supportsInteractive()
Does this Scheduler supports the submission of interactive jobs ?
For interactive jobs the standard streams of the job must be handled by the submitting process.
|
supportsBatch, usesFileSystem
getDescription, getName, getNewUniqueID, getSupportedLocations, getSupportedProperties
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDescription, getName, getSupportedLocations, getSupportedProperties
private static final org.slf4j.Logger LOGGER
public static final java.lang.String ADAPTOR_NAME
public static final int DEFAULT_PORT
public static final java.lang.String ADAPTOR_DESCRIPTION
public static final java.lang.String PREFIX
public static final java.lang.String STRICT_HOST_KEY_CHECKING
public static final java.lang.String AGENT
public static final java.lang.String AGENT_FORWARDING
public static final java.lang.String LOAD_STANDARD_KNOWN_HOSTS
public static final java.lang.String LOAD_SSH_CONFIG
public static final java.lang.String SSH_CONFIG_FILE
public static final java.lang.String AUTOMATICALLY_ADD_HOST_KEY
public static final java.lang.String GATEWAY
public static final java.lang.String TIMEOUT
public static final java.lang.String QUEUE
public static final java.lang.String MAX_HISTORY
public static final java.lang.String POLLING_DELAY
public static final java.lang.String MULTIQ
public static final java.lang.String MULTIQ_MAX_CONCURRENT
public static final java.lang.String INFO
public static final java.lang.String JOBS
public static final java.lang.String SUBMITTED
private static final java.lang.String[] ADAPTOR_LOCATIONS
private static final XenonPropertyDescription[] VALID_PROPERTIES
public boolean isEmbedded()
SchedulerAdaptorDescription
isEmbedded
in interface SchedulerAdaptorDescription
isEmbedded
in class SchedulerAdaptor
public boolean supportsInteractive()
SchedulerAdaptorDescription
supportsInteractive
in interface SchedulerAdaptorDescription
supportsInteractive
in class SchedulerAdaptor
public java.lang.Class[] getSupportedCredentials()
AdaptorDescription
public Scheduler createScheduler(java.lang.String location, Credential credential, java.util.Map<java.lang.String,java.lang.String> properties) throws XenonException
createScheduler
in class SchedulerAdaptor
XenonException