Groovy Documentation

com.ace.mws.jobs
[Groovy] Class JobCredentials

java.lang.Object
  com.ace.mws.jobs.JobCredentials

class JobCredentials

Moab Workload Manager supports the concept of credentials, which provide a means of attributing policy and resource access to entities such as users and groups. These credentials allow specification of job ownership, tracking of resource usage, enforcement of policies, and many other features.


Field Summary
private String account

The account credential is also referred to as the project.

private String group

The group credential represents an aggregation of users.

private String jobClass

The concept of the class credential is derived from the resource manager class or queue object.

private String qos

The quality of service assigned to this job.

private String qosRequested

The quality of service requested for this job.

private String user

The user credential is the fundamental credential within a workload manager; each job requires an association with exactly one user.

 
Constructor Summary
JobCredentials()

 
Method Summary
String getAccount()

The account credential is also referred to as the project.

String getGroup()

The group credential represents an aggregation of users.

String getJobClass()

The concept of the class credential is derived from the resource manager class or queue object.

String getQos()

The quality of service assigned to this job.

String getQosRequested()

The quality of service requested for this job.

String getUser()

The user credential is the fundamental credential within a workload manager; each job requires an association with exactly one user.

void setAccount(String account)

The account credential is also referred to as the project.

void setGroup(String group)

The group credential represents an aggregation of users.

void setJobClass(String jobClass)

The concept of the class credential is derived from the resource manager class or queue object.

void setQos(String qos)

The quality of service assigned to this job.

void setQosRequested(String qosRequested)

The quality of service requested for this job.

void setUser(String user)

The user credential is the fundamental credential within a workload manager; each job requires an association with exactly one user.

String toString()

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

account

private String account
The account credential is also referred to as the project. This credential is generally associated with a group of users along the lines of a particular project for accounting and billing purposes. Valid during POST. Valid during PUT.


group

private String group
The group credential represents an aggregation of users. User-to-group mappings are often specified by the operating system or resource manager and typically map to a user's UNIX group ID. However, user-to-group mappings may also be provided by a security and identity management service, or you can specify such directly within Moab. Valid during POST.


jobClass

private String jobClass
The concept of the class credential is derived from the resource manager class or queue object. Classes differ from other credentials in that they more directly impact job attributes. In standard HPC usage, a user submits a job to a class and this class imposes a number of factors on the job. The attributes of a class may be specified within the resource manager or directly within Moab. Valid during POST. Valid during PUT.


qos

private String qos
The quality of service assigned to this job.

The concept of a quality of service (QoS) credential is unique to Moab and is not derived from any underlying concept or peer service. In most cases, the QoS credential is used to allow a site to set up a selection of service levels for end-users to choose from on a long-term or job-by-job basis. QoS's differ from other credentials in that they are centered around special access where this access may allow use of additional services, additional resources, or improved responsiveness. Unique to this credential, organizations may also choose to apply different charge rates to the varying levels of service available within each QoS. As QoS is an internal credential, all QoS configuration occurs within Moab.


qosRequested

private String qosRequested
The quality of service requested for this job. Valid during POST. Valid during PUT.


user

private String user
The user credential is the fundamental credential within a workload manager; each job requires an association with exactly one user. In fact, the user credential is the only required credential in Moab; all others are optional. In most cases, the job's user credential is configured within or managed by the operating system itself, although Moab may be configured to obtain this information from an independent security and identity management service. Valid during POST.


 
Constructor Detail

JobCredentials

JobCredentials()


 
Method Detail

getAccount

String getAccount()
The account credential is also referred to as the project. This credential is generally associated with a group of users along the lines of a particular project for accounting and billing purposes. Valid during POST. Valid during PUT.


getGroup

String getGroup()
The group credential represents an aggregation of users. User-to-group mappings are often specified by the operating system or resource manager and typically map to a user's UNIX group ID. However, user-to-group mappings may also be provided by a security and identity management service, or you can specify such directly within Moab. Valid during POST.


getJobClass

String getJobClass()
The concept of the class credential is derived from the resource manager class or queue object. Classes differ from other credentials in that they more directly impact job attributes. In standard HPC usage, a user submits a job to a class and this class imposes a number of factors on the job. The attributes of a class may be specified within the resource manager or directly within Moab. Valid during POST. Valid during PUT.


getQos

String getQos()
The quality of service assigned to this job.

The concept of a quality of service (QoS) credential is unique to Moab and is not derived from any underlying concept or peer service. In most cases, the QoS credential is used to allow a site to set up a selection of service levels for end-users to choose from on a long-term or job-by-job basis. QoS's differ from other credentials in that they are centered around special access where this access may allow use of additional services, additional resources, or improved responsiveness. Unique to this credential, organizations may also choose to apply different charge rates to the varying levels of service available within each QoS. As QoS is an internal credential, all QoS configuration occurs within Moab.


getQosRequested

String getQosRequested()
The quality of service requested for this job. Valid during POST. Valid during PUT.


getUser

String getUser()
The user credential is the fundamental credential within a workload manager; each job requires an association with exactly one user. In fact, the user credential is the only required credential in Moab; all others are optional. In most cases, the job's user credential is configured within or managed by the operating system itself, although Moab may be configured to obtain this information from an independent security and identity management service. Valid during POST.


setAccount

void setAccount(String account)
The account credential is also referred to as the project. This credential is generally associated with a group of users along the lines of a particular project for accounting and billing purposes. Valid during POST. Valid during PUT.


setGroup

void setGroup(String group)
The group credential represents an aggregation of users. User-to-group mappings are often specified by the operating system or resource manager and typically map to a user's UNIX group ID. However, user-to-group mappings may also be provided by a security and identity management service, or you can specify such directly within Moab. Valid during POST.


setJobClass

void setJobClass(String jobClass)
The concept of the class credential is derived from the resource manager class or queue object. Classes differ from other credentials in that they more directly impact job attributes. In standard HPC usage, a user submits a job to a class and this class imposes a number of factors on the job. The attributes of a class may be specified within the resource manager or directly within Moab. Valid during POST. Valid during PUT.


setQos

void setQos(String qos)
The quality of service assigned to this job.

The concept of a quality of service (QoS) credential is unique to Moab and is not derived from any underlying concept or peer service. In most cases, the QoS credential is used to allow a site to set up a selection of service levels for end-users to choose from on a long-term or job-by-job basis. QoS's differ from other credentials in that they are centered around special access where this access may allow use of additional services, additional resources, or improved responsiveness. Unique to this credential, organizations may also choose to apply different charge rates to the varying levels of service available within each QoS. As QoS is an internal credential, all QoS configuration occurs within Moab.


setQosRequested

void setQosRequested(String qosRequested)
The quality of service requested for this job. Valid during POST. Valid during PUT.


setUser

void setUser(String user)
The user credential is the fundamental credential within a workload manager; each job requires an association with exactly one user. In fact, the user credential is the only required credential in Moab; all others are optional. In most cases, the job's user credential is configured within or managed by the operating system itself, although Moab may be configured to obtain this information from an independent security and identity management service. Valid during POST.


toString

String toString()


 

Groovy Documentation