Groovy Documentation

com.ace.mws.services
[Groovy] Class ServiceJob

java.lang.Object
  com.ace.mws.services.ServiceJob

class ServiceJob

Authors:
jpratt, seeleyn


Field Summary
private Set features

(String collection) The node features Moab uses to schedule the service.

private String id

The unique identifier of the job.

private String image

The image name used by the service.

private Map resources

(Map of String => String) The set of resources of the service.

private String template

The job template of this service.

private Map variables

(Map of String => String) The variables of the service.

 
Constructor Summary
ServiceJob()

 
Method Summary
Set getFeatures()

(String collection) The node features Moab uses to schedule the service.

String getId()

The unique identifier of the job.

String getImage()

The image name used by the service.

Map getResources()

(Map of String => String) The set of resources of the service.

String getTemplate()

The job template of this service.

Map getVariables()

(Map of String => String) The variables of the service.

void setFeatures(Set features)

(String collection) The node features Moab uses to schedule the service.

void setId(String id)

The unique identifier of the job.

void setImage(String image)

The image name used by the service.

void setResources(Map resources)

(Map of String => String) The set of resources of the service.

void setTemplate(String template)

The job template of this service.

void setVariables(Map variables)

(Map of String => String) The variables of the service.

String toString()

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

Field Detail

features

private Set features
(String collection) The node features Moab uses to schedule the service. Valid for service template extension. Valid during POST.
See Also:
String


id

private String id
The unique identifier of the job. Generated during POST.


image

private String image
The image name used by the service. This only applies to type vm and pm services. Valid for service template extension. Valid during POST.


resources

private Map resources
(Map of String => String) The set of resources of the service. This includes both generic resources and the resources procs, mem, and disk. Typically we use generic resources 'gold' and 'OSStorage' for storage. The resources procs, mem, and disk only apply to type pm and vm services. Valid for service template extension. Valid during POST.
See Also:
Map


template

private String template
The job template of this service. Valid during POST.


variables

private Map variables
(Map of String => String) The variables of the service. Variables name "serviceId", "topLevelServiceId", and "imageName" are reserved keys in the map and are created during the POST. Valid for service template extension. Valid during POST.
See Also:
Map


 
Constructor Detail

ServiceJob

ServiceJob()


 
Method Detail

getFeatures

Set getFeatures()
(String collection) The node features Moab uses to schedule the service. Valid for service template extension. Valid during POST.
See Also:
String


getId

String getId()
The unique identifier of the job. Generated during POST.


getImage

String getImage()
The image name used by the service. This only applies to type vm and pm services. Valid for service template extension. Valid during POST.


getResources

Map getResources()
(Map of String => String) The set of resources of the service. This includes both generic resources and the resources procs, mem, and disk. Typically we use generic resources 'gold' and 'OSStorage' for storage. The resources procs, mem, and disk only apply to type pm and vm services. Valid for service template extension. Valid during POST.
See Also:
Map


getTemplate

String getTemplate()
The job template of this service. Valid during POST.


getVariables

Map getVariables()
(Map of String => String) The variables of the service. Variables name "serviceId", "topLevelServiceId", and "imageName" are reserved keys in the map and are created during the POST. Valid for service template extension. Valid during POST.
See Also:
Map


setFeatures

void setFeatures(Set features)
(String collection) The node features Moab uses to schedule the service. Valid for service template extension. Valid during POST.
See Also:
String


setId

void setId(String id)
The unique identifier of the job. Generated during POST.


setImage

void setImage(String image)
The image name used by the service. This only applies to type vm and pm services. Valid for service template extension. Valid during POST.


setResources

void setResources(Map resources)
(Map of String => String) The set of resources of the service. This includes both generic resources and the resources procs, mem, and disk. Typically we use generic resources 'gold' and 'OSStorage' for storage. The resources procs, mem, and disk only apply to type pm and vm services. Valid for service template extension. Valid during POST.
See Also:
Map


setTemplate

void setTemplate(String template)
The job template of this service. Valid during POST.


setVariables

void setVariables(Map variables)
(Map of String => String) The variables of the service. Variables name "serviceId", "topLevelServiceId", and "imageName" are reserved keys in the map and are created during the POST. Valid for service template extension. Valid during POST.
See Also:
Map


toString

String toString()


 

Groovy Documentation