Groovy Documentation

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

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

class Workflow

Represents a workflow in the core cloud stack workload driven model. This usually corresponds to virtual containers and a single moab job. For example, a workflow object may wrap the infinite walltime job associated with a VM

Authors:
seeleyn


Field Summary
private Integer disk

The amount of disk requested

private Long durationRequested

The amount of wallclock time requested in seconds. 0 means that the wallclock is unspecified and will default to whatever is defined in the moab.cfg job template

private Set features

(String collection) The node features (e.g.

private Map genericResources

(Map of String => Integer) The generic resources.

private Set hostList

(String collection) The host list

private Long id

private String jobId

The id of the Moab job

private String jobTemplate

The moab job template

private Integer memory

The amount of memory requested in megabytes

private String name

The user specified name of the workflow.

private String opSys

The required operating system

private Integer procs

The number of processors

private static long serialVersionUID

private Map variables

(Map of String => String) Variables attached to the Moab job

private String vcId

The id of the virtual container

 
Constructor Summary
Workflow()

 
Method Summary
Integer getDisk()

The amount of disk requested

Long getDurationRequested()

The amount of wallclock time requested in seconds. 0 means that the wallclock is unspecified and will default to whatever is defined in the moab.cfg job template

Set getFeatures()

(String collection) The node features (e.g.

Map getGenericResources()

(Map of String => Integer) The generic resources.

Set getHostList()

(String collection) The host list

Long getId()

String getJobId()

The id of the Moab job

String getJobTemplate()

The moab job template

Integer getMemory()

The amount of memory requested in megabytes

String getName()

The user specified name of the workflow.

String getOpSys()

The required operating system

Integer getProcs()

The number of processors

Map getVariables()

(Map of String => String) Variables attached to the Moab job

String getVcId()

The id of the virtual container

void setDisk(Integer disk)

The amount of disk requested

void setDurationRequested(Long durationRequested)

The amount of wallclock time requested in seconds. 0 means that the wallclock is unspecified and will default to whatever is defined in the moab.cfg job template

void setFeatures(Set features)

(String collection) The node features (e.g.

void setGenericResources(Map genericResources)

(Map of String => Integer) The generic resources.

void setHostList(Set hostList)

(String collection) The host list

void setId(Long id)

void setJobId(String jobId)

The id of the Moab job

void setJobTemplate(String jobTemplate)

The moab job template

void setMemory(Integer memory)

The amount of memory requested in megabytes

void setName(String name)

The user specified name of the workflow.

void setOpSys(String opSys)

The required operating system

void setProcs(Integer procs)

The number of processors

void setVariables(Map variables)

(Map of String => String) Variables attached to the Moab job

void setVcId(String vcId)

The id of the virtual container

String toString()

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

Field Detail

disk

private Integer disk
The amount of disk requested


durationRequested

private Long durationRequested
The amount of wallclock time requested in seconds. 0 means that the wallclock is unspecified and will default to whatever is defined in the moab.cfg job template


features

private Set features
(String collection) The node features (e.g. Infiniband, Myrinet)
See Also:
String


genericResources

private Map genericResources
(Map of String => Integer) The generic resources. This is a Map where the key is a String and the value is an Integer. The key is a generic resource name and the value is a generic resource count.
See Also:
Integer


hostList

private Set hostList
(String collection) The host list
See Also:
String


id

private Long id


jobId

private String jobId
The id of the Moab job


jobTemplate

private String jobTemplate
The moab job template


memory

private Integer memory
The amount of memory requested in megabytes


name

private String name
The user specified name of the workflow. Note this is not globally unique


opSys

private String opSys
The required operating system


procs

private Integer procs
The number of processors


serialVersionUID

private static final long serialVersionUID


variables

private Map variables
(Map of String => String) Variables attached to the Moab job
See Also:
String


vcId

private String vcId
The id of the virtual container


 
Constructor Detail

Workflow

Workflow()


 
Method Detail

getDisk

Integer getDisk()
The amount of disk requested


getDurationRequested

Long getDurationRequested()
The amount of wallclock time requested in seconds. 0 means that the wallclock is unspecified and will default to whatever is defined in the moab.cfg job template


getFeatures

Set getFeatures()
(String collection) The node features (e.g. Infiniband, Myrinet)
See Also:
String


getGenericResources

Map getGenericResources()
(Map of String => Integer) The generic resources. This is a Map where the key is a String and the value is an Integer. The key is a generic resource name and the value is a generic resource count.
See Also:
Integer


getHostList

Set getHostList()
(String collection) The host list
See Also:
String


getId

Long getId()


getJobId

String getJobId()
The id of the Moab job


getJobTemplate

String getJobTemplate()
The moab job template


getMemory

Integer getMemory()
The amount of memory requested in megabytes


getName

String getName()
The user specified name of the workflow. Note this is not globally unique


getOpSys

String getOpSys()
The required operating system


getProcs

Integer getProcs()
The number of processors


getVariables

Map getVariables()
(Map of String => String) Variables attached to the Moab job
See Also:
String


getVcId

String getVcId()
The id of the virtual container


setDisk

void setDisk(Integer disk)
The amount of disk requested


setDurationRequested

void setDurationRequested(Long durationRequested)
The amount of wallclock time requested in seconds. 0 means that the wallclock is unspecified and will default to whatever is defined in the moab.cfg job template


setFeatures

void setFeatures(Set features)
(String collection) The node features (e.g. Infiniband, Myrinet)
See Also:
String


setGenericResources

void setGenericResources(Map genericResources)
(Map of String => Integer) The generic resources. This is a Map where the key is a String and the value is an Integer. The key is a generic resource name and the value is a generic resource count.
See Also:
Integer


setHostList

void setHostList(Set hostList)
(String collection) The host list
See Also:
String


setId

void setId(Long id)


setJobId

void setJobId(String jobId)
The id of the Moab job


setJobTemplate

void setJobTemplate(String jobTemplate)
The moab job template


setMemory

void setMemory(Integer memory)
The amount of memory requested in megabytes


setName

void setName(String name)
The user specified name of the workflow. Note this is not globally unique


setOpSys

void setOpSys(String opSys)
The required operating system


setProcs

void setProcs(Integer procs)
The number of processors


setVariables

void setVariables(Map variables)
(Map of String => String) Variables attached to the Moab job
See Also:
String


setVcId

void setVcId(String vcId)
The id of the virtual container


toString

String toString()


 

Groovy Documentation