|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ace.mws.services.ContainerService
class ContainerService
Represents a container service in the core cloud stack workload driven model. This object contains other services. For example this service may contain services representing a VM, an OS storage mount, and an extra network storage mount.
The container also stores temporal dependencies. For example, it may indicate that a VM service must wait until the OS storage service and extra storage service have been set up before the VM service can run
Field Summary | |
---|---|
private Map |
attributes
(Map of String => String) A JSON string representing anything in the service request attributes. |
private Map |
dependencies
(Map of String => String) A Map of svcIds to a String which is a comma separated list of svcIds. |
private Long |
id
|
private String |
label
A label for this service. |
private String |
name
The user specified name of the service. |
private String |
serviceTemplateId
The id of the service template from which this service was created |
private String |
serviceTemplateName
The name of the service template from which this service was created |
private Set |
services
(String collection) A list of svcIds contained in this container |
private String |
type
The type of service. |
private String |
vcId
The id of the virtual container in Moab associated with this service |
Constructor Summary | |
ContainerService()
|
Method Summary | |
---|---|
Map
|
getAttributes()
(Map of String => String) A JSON string representing anything in the service request attributes. |
Map
|
getDependencies()
(Map of String => String) A Map of svcIds to a String which is a comma separated list of svcIds. |
Long
|
getId()
|
String
|
getLabel()
A label for this service. |
String
|
getName()
The user specified name of the service. |
String
|
getServiceTemplateId()
The id of the service template from which this service was created |
String
|
getServiceTemplateName()
The name of the service template from which this service was created |
Set
|
getServices()
(String collection) A list of svcIds contained in this container |
String
|
getType()
The type of service. |
String
|
getVcId()
The id of the virtual container in Moab associated with this service |
void
|
setAttributes(Map attributes)
(Map of String => String) A JSON string representing anything in the service request attributes. |
void
|
setDependencies(Map dependencies)
(Map of String => String) A Map of svcIds to a String which is a comma separated list of svcIds. |
void
|
setId(Long id)
|
void
|
setLabel(String label)
A label for this service. |
void
|
setName(String name)
The user specified name of the service. |
void
|
setServiceTemplateId(String serviceTemplateId)
The id of the service template from which this service was created |
void
|
setServiceTemplateName(String serviceTemplateName)
The name of the service template from which this service was created |
void
|
setServices(Set services)
(String collection) A list of svcIds contained in this container |
void
|
setType(String type)
The type of service. |
void
|
setVcId(String vcId)
The id of the virtual container in Moab associated with this service |
String
|
toString()
|
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Field Detail |
---|
private Map attributes
private Map dependencies
Note that when we say "have all run" we do not necessarily mean have completed since often service jobs are infinite walltime jobs. "have all run" means that the upstream jobs have indicated (often by setting a variable) they they are finished setting up so that the next services in the workflow can start
private Long id
private String label
private String name
private String serviceTemplateId
private String serviceTemplateName
private Set services
private String type
private String vcId
Constructor Detail |
---|
ContainerService()
Method Detail |
---|
Map getAttributes()
Map getDependencies()
Note that when we say "have all run" we do not necessarily mean have completed since often service jobs are infinite walltime jobs. "have all run" means that the upstream jobs have indicated (often by setting a variable) they they are finished setting up so that the next services in the workflow can start
Long getId()
String getLabel()
String getName()
String getServiceTemplateId()
String getServiceTemplateName()
Set getServices()
String getType()
String getVcId()
void setAttributes(Map attributes)
void setDependencies(Map dependencies)
Note that when we say "have all run" we do not necessarily mean have completed since often service jobs are infinite walltime jobs. "have all run" means that the upstream jobs have indicated (often by setting a variable) they they are finished setting up so that the next services in the workflow can start
void setId(Long id)
void setLabel(String label)
void setName(String name)
void setServiceTemplateId(String serviceTemplateId)
void setServiceTemplateName(String serviceTemplateName)
void setServices(Set services)
void setType(String type)
void setVcId(String vcId)
String toString()
Groovy Documentation