|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.adaptc.mws.plugins.NodeReport
public class NodeReport extends Object
A node report consists of values for all of the known, changed properties for a specific node resource. This typically represents changes in a specific time period (ie between the last poll and the current poll), but can also represent all known information concerning a resource (ie the first time poll is run).
For more information on reporting resources, see the Plugin Reporting section in the MWS documentation.Field Summary | |
---|---|
private String |
architecture
The node's architecture. |
private List |
features
The list of the node's features. |
private String |
image
The name of the image that this node is currently provisioned as. |
private List |
imagesAvailable
The names of the images that this node can be provisioned as. |
private String |
ipAddress
The node's IPv4 address. |
private List |
messages
A list of messages to attach to the node. |
private Map |
metrics
The node's reported metrics. |
private String |
name
The node's name. |
private String |
partition
The node's partition. |
private String |
pluginId
The ID of the plugin which has generated the report. |
private NodeReportPower |
power
The current state of the node's power. |
private Long |
precedence
The precedence of the plugin which has generated the report. |
private ReportResourceMap |
resources
The job's resources information. |
private NodeReportState |
state
The current state of the node. |
private String |
subState
The node's current sub-state. |
private Date |
timestamp
The date that the report was made or for which the report is current. |
private Map |
variables
The node's variables. |
Constructor Summary | |
NodeReport()
Creates a new, empty node report. |
|
NodeReport(String name)
Creates a new node report for specified node. |
Method Summary | |
---|---|
String
|
getArchitecture()
@see #architecture |
List
|
getFeatures()
@see #features |
String
|
getImage()
@see #image |
List
|
getImagesAvailable()
@see #imagesAvailable |
String
|
getIpAddress()
@see #ipAddress |
List
|
getMessages()
@see #messages |
Map
|
getMetrics()
@see #metrics |
String
|
getName()
@see #name |
String
|
getPartition()
@see #partition |
String
|
getPluginId()
@see #pluginId |
NodeReportPower
|
getPower()
@see #power |
Long
|
getPrecedence()
@see #precedence |
ReportResourceMap
|
getResources()
@see #resources |
NodeReportState
|
getState()
@see #state |
String
|
getSubState()
@see #subState |
Date
|
getTimestamp()
Retrieves the set timestamp for the report. |
Map
|
getVariables()
@see #variables |
void
|
setArchitecture(String architecture)
@see #architecture |
void
|
setFeatures(List features)
@see #features |
void
|
setImage(String image)
Sets the image name for the node. |
void
|
setImagesAvailable(List imagesAvailable)
@see #imagesAvailable |
void
|
setIpAddress(String ipAddress)
@see #ipAddress |
void
|
setMessages(List messages)
@see #messages |
void
|
setMetrics(Map metrics)
@see #metrics |
void
|
setName(String name)
Sets the unique identifier for the node. |
void
|
setPartition(String partition)
@see #partition |
void
|
setPluginId(String pluginId)
Sets the ID of the plugin which has generated the report. |
void
|
setPower(NodeReportPower power)
@see #power |
void
|
setPower(String power)
Calls NodeReportPower.parse to set the power field. |
void
|
setPrecedence(Long precedence)
Sets the precedence, corresponding to the precedence of the plugin which has generated the report. |
void
|
setResources(ReportResourceMap resources)
@see #resources |
void
|
setState(NodeReportState state)
@see #state |
void
|
setState(String state)
Calls NodeReportState.parse to set the state field. |
void
|
setSubState(String subState)
@see #subState |
void
|
setTimestamp(Date timestamp)
@see #timestamp |
void
|
setTimestamp(String timestamp)
@see #timestamp |
void
|
setVariables(Map variables)
@see #variables |
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Field Detail |
---|
private String architecture
private List features
private String image
private List imagesAvailable
private String ipAddress
private List messages
private Map metrics
private String name
private String partition
private String pluginId
private NodeReportPower power
private Long precedence
private ReportResourceMap resources
private NodeReportState state
private String subState
private Date timestamp
private Map variables
Constructor Detail |
---|
public NodeReport()
public NodeReport(String name)
name
- See setName
Method Detail |
---|
public String getArchitecture()
public List getFeatures()
public String getImage()
public List getImagesAvailable()
public String getIpAddress()
public List getMessages()
public Map getMetrics()
public String getName()
public String getPartition()
public String getPluginId()
public NodeReportPower getPower()
public Long getPrecedence()
public ReportResourceMap getResources()
public NodeReportState getState()
public String getSubState()
public Date getTimestamp()
public Map getVariables()
public void setArchitecture(String architecture)
public void setFeatures(List features)
public void setImage(String image)
public void setImagesAvailable(List imagesAvailable)
public void setIpAddress(String ipAddress)
public void setMessages(List messages)
public void setMetrics(Map metrics)
public void setName(String name)
public void setPartition(String partition)
public void setPluginId(String pluginId)
public void setPower(NodeReportPower power)
public void setPower(String power)
public void setPrecedence(Long precedence)
public void setResources(ReportResourceMap resources)
public void setState(NodeReportState state)
public void setState(String state)
public void setSubState(String subState)
public void setTimestamp(Date timestamp)
public void setTimestamp(String timestamp)
public void setVariables(Map variables)
Groovy Documentation