|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ace.mws.vms.VirtualMachine
class VirtualMachine
This class represents a virtual machine: a software implementation of a computer that executes programs like a physical machine (i.e. like a node). A virtual machine, therefore, requires a host machine, usually called a hypervisor, which partitions its resources to be used by the one or many virtual machines it hosts.
A virtual machine needs to have a name, will typically report an OS, and have a list of operating systems that it can run.
Field Summary | |
---|---|
private String |
description
A description of this VM. |
private DomainProxy |
host
The physical machine (hypervisor) on which this VM is running. |
private Set |
hostnames
(String collection) The set of host names (aliases) that refer to this VM. |
private String |
id
The unique identifier of the virtual machine. |
private String |
ipAddress
This VM's IPv4 address. |
private Date |
lastMigrationDate
The date when this VM was last migrated. |
private Date |
lastUpdatedDate
The timestamp of the last moment when this VM was updated. |
private Map |
metrics
(Map of String => Double) Metrics are the measurable, quantitative, and changing aspects of this VM. |
private Integer |
migrationCount
The number of times this VM has been migrated. |
private Boolean |
migrationDisabled
True if migration is disabled for this VM, false otherwise. |
private String |
name
The name of the virtual machine. |
private VMOperatingSystemInformation |
operatingSystem
Describes the current or expected operating system image information for this VM. |
private Set |
requiredFeatures
(String collection) The set of features required by this VM. |
private Set |
resourceManagers
(NodeResourceManager collection) The resource managers that are reporting or have previously reported this VM. |
private Map |
resources
(Map of String => Resource) Contains references of a string representing a resource name to a resource object detailing the amount of the resource that is available, configured, etc. |
private Date |
startDate
Date that this VM was started (ready and usable). |
private NodeStateInformation |
states
State information for this VM. |
private DomainProxy |
trackingJob
The tracking job for this VM. |
private Set |
triggers
(DomainProxy collection) The set of triggers associated with this VM. |
private Map |
variables
(Map of String => String) Variables is a map of key-value pairs, synonymous, but not directly related to, environment variables. |
private Set |
virtualContainers
(DomainProxy collection) The set of virtual containers that directly (not recursively) contain this VM. |
Constructor Summary | |
VirtualMachine()
|
Method Summary | |
---|---|
String
|
getDescription()
A description of this VM. |
DomainProxy
|
getHost()
The physical machine (hypervisor) on which this VM is running. |
Set
|
getHostnames()
(String collection) The set of host names (aliases) that refer to this VM. |
String
|
getId()
The unique identifier of the virtual machine. |
String
|
getIpAddress()
This VM's IPv4 address. |
Date
|
getLastMigrationDate()
The date when this VM was last migrated. |
Date
|
getLastUpdatedDate()
The timestamp of the last moment when this VM was updated. |
Map
|
getMetrics()
(Map of String => Double) Metrics are the measurable, quantitative, and changing aspects of this VM. |
Integer
|
getMigrationCount()
The number of times this VM has been migrated. |
Boolean
|
getMigrationDisabled()
True if migration is disabled for this VM, false otherwise. |
String
|
getName()
The name of the virtual machine. |
VMOperatingSystemInformation
|
getOperatingSystem()
Describes the current or expected operating system image information for this VM. |
Set
|
getRequiredFeatures()
(String collection) The set of features required by this VM. |
Set
|
getResourceManagers()
(NodeResourceManager collection) The resource managers that are reporting or have previously reported this VM. |
Map
|
getResources()
(Map of String => Resource) Contains references of a string representing a resource name to a resource object detailing the amount of the resource that is available, configured, etc. |
Date
|
getStartDate()
Date that this VM was started (ready and usable). |
NodeStateInformation
|
getStates()
State information for this VM. |
DomainProxy
|
getTrackingJob()
The tracking job for this VM. |
Set
|
getTriggers()
(DomainProxy collection) The set of triggers associated with this VM. |
Map
|
getVariables()
(Map of String => String) Variables is a map of key-value pairs, synonymous, but not directly related to, environment variables. |
Set
|
getVirtualContainers()
(DomainProxy collection) The set of virtual containers that directly (not recursively) contain this VM. |
void
|
setDescription(String description)
A description of this VM. |
void
|
setHost(DomainProxy host)
The physical machine (hypervisor) on which this VM is running. |
void
|
setHostnames(Set hostnames)
(String collection) The set of host names (aliases) that refer to this VM. |
void
|
setId(String id)
The unique identifier of the virtual machine. |
void
|
setIpAddress(String ipAddress)
This VM's IPv4 address. |
void
|
setLastMigrationDate(Date lastMigrationDate)
The date when this VM was last migrated. |
void
|
setLastUpdatedDate(Date lastUpdatedDate)
The timestamp of the last moment when this VM was updated. |
void
|
setMetrics(Map metrics)
(Map of String => Double) Metrics are the measurable, quantitative, and changing aspects of this VM. |
void
|
setMigrationCount(Integer migrationCount)
The number of times this VM has been migrated. |
void
|
setMigrationDisabled(Boolean migrationDisabled)
True if migration is disabled for this VM, false otherwise. |
void
|
setName(String name)
The name of the virtual machine. |
void
|
setOperatingSystem(VMOperatingSystemInformation operatingSystem)
Describes the current or expected operating system image information for this VM. |
void
|
setRequiredFeatures(Set requiredFeatures)
(String collection) The set of features required by this VM. |
void
|
setResourceManagers(Set resourceManagers)
(NodeResourceManager collection) The resource managers that are reporting or have previously reported this VM. |
void
|
setResources(Map resources)
(Map of String => Resource) Contains references of a string representing a resource name to a resource object detailing the amount of the resource that is available, configured, etc. |
void
|
setStartDate(Date startDate)
Date that this VM was started (ready and usable). |
void
|
setStates(NodeStateInformation states)
State information for this VM. |
void
|
setTrackingJob(DomainProxy trackingJob)
The tracking job for this VM. |
void
|
setTriggers(Set triggers)
(DomainProxy collection) The set of triggers associated with this VM. |
void
|
setVariables(Map variables)
(Map of String => String) Variables is a map of key-value pairs, synonymous, but not directly related to, environment variables. |
void
|
setVirtualContainers(Set virtualContainers)
(DomainProxy collection) The set of virtual containers that directly (not recursively) contain this VM. |
String
|
toString()
|
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Field Detail |
---|
private String description
private DomainProxy host
private Set hostnames
private String id
private String ipAddress
private Date lastMigrationDate
private Date lastUpdatedDate
private Map metrics
private Integer migrationCount
private Boolean migrationDisabled
private String name
private VMOperatingSystemInformation operatingSystem
private Set requiredFeatures
private Set resourceManagers
private Map resources
private Date startDate
private NodeStateInformation states
private DomainProxy trackingJob
private Set triggers
private Map variables
private Set virtualContainers
Constructor Detail |
---|
VirtualMachine()
Method Detail |
---|
String getDescription()
DomainProxy getHost()
Set getHostnames()
String getId()
String getIpAddress()
Date getLastMigrationDate()
Date getLastUpdatedDate()
Map getMetrics()
Integer getMigrationCount()
Boolean getMigrationDisabled()
String getName()
VMOperatingSystemInformation getOperatingSystem()
Set getRequiredFeatures()
Set getResourceManagers()
Map getResources()
Date getStartDate()
NodeStateInformation getStates()
DomainProxy getTrackingJob()
Set getTriggers()
Map getVariables()
Set getVirtualContainers()
void setDescription(String description)
void setHost(DomainProxy host)
void setHostnames(Set hostnames)
void setId(String id)
void setIpAddress(String ipAddress)
void setLastMigrationDate(Date lastMigrationDate)
void setLastUpdatedDate(Date lastUpdatedDate)
void setMetrics(Map metrics)
void setMigrationCount(Integer migrationCount)
void setMigrationDisabled(Boolean migrationDisabled)
void setName(String name)
void setOperatingSystem(VMOperatingSystemInformation operatingSystem)
void setRequiredFeatures(Set requiredFeatures)
void setResourceManagers(Set resourceManagers)
void setResources(Map resources)
void setStartDate(Date startDate)
void setStates(NodeStateInformation states)
void setTrackingJob(DomainProxy trackingJob)
void setTriggers(Set triggers)
void setVariables(Map variables)
void setVirtualContainers(Set virtualContainers)
String toString()
Groovy Documentation