|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ace.mws.jobtemplates.JobTemplate
class JobTemplate
This class represents a job template in the Moab Workload Manager. Job templates are used for two primary purposes: (1) to provide a means of generically matching and categorizing jobs, and (2) to provide a means of setting arbitrary default or forced attributes for certain jobs.
Field Summary | |
---|---|
private String |
account
The account under which this job will run for billing purposes. |
private String |
args
Command-line arguments that get passed to commandFile. |
private String |
commandFile
The path to the file that is executed when the job runs. |
private String |
description
The description of the job. |
private Long |
durationRequested
The amount of time (in seconds) requested for the job. |
private Boolean |
genericSystemJob
True if this template will instantiate a generic system job. |
private String |
id
The unique identifier for this job template. |
private Boolean |
inheritResources
True if jobs instantiated from this template inherit resources. |
private Set |
jobDependencies
(JobTemplateDependency collection) The list of dependencies for this job template. |
private Set |
jobFlags
(JobFlag collection) Job flags for this template. |
private Set |
jobTemplateFlags
(JobTemplateFlag collection) Job template flags for this template. |
private Set |
jobTemplateRequirements
(JobTemplateRequirement collection) The requirements for this job template. |
private Long |
priority
Relative job priority. |
private String |
qos
The Quality of Service for the job. |
private String |
queue
The class or queue in which the job will run. |
private Boolean |
select
True if job template can be directly requested by job at submission. |
private Trigger |
trigger
The trigger that is typically assigned to generic system jobs. |
private VMUsagePolicy |
vmUsagePolicy
The virtual machine usage policy. |
Constructor Summary | |
JobTemplate()
|
Method Summary | |
---|---|
String
|
getAccount()
The account under which this job will run for billing purposes. |
String
|
getArgs()
Command-line arguments that get passed to commandFile. |
String
|
getCommandFile()
The path to the file that is executed when the job runs. |
String
|
getDescription()
The description of the job. |
Long
|
getDurationRequested()
The amount of time (in seconds) requested for the job. |
Boolean
|
getGenericSystemJob()
True if this template will instantiate a generic system job. |
String
|
getId()
The unique identifier for this job template. |
Boolean
|
getInheritResources()
True if jobs instantiated from this template inherit resources. |
Set
|
getJobDependencies()
(JobTemplateDependency collection) The list of dependencies for this job template. |
Set
|
getJobFlags()
(JobFlag collection) Job flags for this template. |
Set
|
getJobTemplateFlags()
(JobTemplateFlag collection) Job template flags for this template. |
Set
|
getJobTemplateRequirements()
(JobTemplateRequirement collection) The requirements for this job template. |
Long
|
getPriority()
Relative job priority. |
String
|
getQos()
The Quality of Service for the job. |
String
|
getQueue()
The class or queue in which the job will run. |
Boolean
|
getSelect()
True if job template can be directly requested by job at submission. |
Trigger
|
getTrigger()
The trigger that is typically assigned to generic system jobs. |
VMUsagePolicy
|
getVmUsagePolicy()
The virtual machine usage policy. |
void
|
setAccount(String account)
The account under which this job will run for billing purposes. |
void
|
setArgs(String args)
Command-line arguments that get passed to commandFile. |
void
|
setCommandFile(String commandFile)
The path to the file that is executed when the job runs. |
void
|
setDescription(String description)
The description of the job. |
void
|
setDurationRequested(Long durationRequested)
The amount of time (in seconds) requested for the job. |
void
|
setGenericSystemJob(Boolean genericSystemJob)
True if this template will instantiate a generic system job. |
void
|
setId(String id)
The unique identifier for this job template. |
void
|
setInheritResources(Boolean inheritResources)
True if jobs instantiated from this template inherit resources. |
void
|
setJobDependencies(Set jobDependencies)
(JobTemplateDependency collection) The list of dependencies for this job template. |
void
|
setJobFlags(Set jobFlags)
(JobFlag collection) Job flags for this template. |
void
|
setJobTemplateFlags(Set jobTemplateFlags)
(JobTemplateFlag collection) Job template flags for this template. |
void
|
setJobTemplateRequirements(Set jobTemplateRequirements)
(JobTemplateRequirement collection) The requirements for this job template. |
void
|
setPriority(Long priority)
Relative job priority. |
void
|
setQos(String qos)
The Quality of Service for the job. |
void
|
setQueue(String queue)
The class or queue in which the job will run. |
void
|
setSelect(Boolean select)
True if job template can be directly requested by job at submission. |
void
|
setTrigger(Trigger trigger)
The trigger that is typically assigned to generic system jobs. |
void
|
setVmUsagePolicy(VMUsagePolicy vmUsagePolicy)
The virtual machine usage policy. |
String
|
toString()
|
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Field Detail |
---|
private String account
private String args
private String commandFile
private String description
private Long durationRequested
private Boolean genericSystemJob
private String id
private Boolean inheritResources
private Set jobDependencies
private Set jobFlags
private Set jobTemplateFlags
private Set jobTemplateRequirements
private Long priority
private String qos
private String queue
private Boolean select
private Trigger trigger
private VMUsagePolicy vmUsagePolicy
Constructor Detail |
---|
JobTemplate()
Method Detail |
---|
String getAccount()
String getArgs()
String getCommandFile()
String getDescription()
Long getDurationRequested()
Boolean getGenericSystemJob()
String getId()
Boolean getInheritResources()
Set getJobDependencies()
Set getJobFlags()
Set getJobTemplateFlags()
Set getJobTemplateRequirements()
Long getPriority()
String getQos()
String getQueue()
Boolean getSelect()
Trigger getTrigger()
VMUsagePolicy getVmUsagePolicy()
void setAccount(String account)
void setArgs(String args)
void setCommandFile(String commandFile)
void setDescription(String description)
void setDurationRequested(Long durationRequested)
void setGenericSystemJob(Boolean genericSystemJob)
void setId(String id)
void setInheritResources(Boolean inheritResources)
void setJobDependencies(Set jobDependencies)
void setJobFlags(Set jobFlags)
void setJobTemplateFlags(Set jobTemplateFlags)
void setJobTemplateRequirements(Set jobTemplateRequirements)
void setPriority(Long priority)
void setQos(String qos)
void setQueue(String queue)
void setSelect(Boolean select)
void setTrigger(Trigger trigger)
void setVmUsagePolicy(VMUsagePolicy vmUsagePolicy)
String toString()
Groovy Documentation