|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.ace.mws.plugins.ReportResource
public class ReportResource extends Object
Signifies a single resource definition in Moab Workload Manager, including both the getTotal() and getAvailable() resources.
| Field Summary | |
|---|---|
private Integer |
available
|
private Integer |
total
|
| Constructor Summary | |
ReportResource()
|
|
| Method Summary | |
|---|---|
Integer
|
getAvailable()
Retrieves the available amount of this resource. |
Integer
|
getTotal()
Retrieves the total amount of this resource. |
void
|
setAvailable(Integer available)
Sets the available amount of this resource. |
void
|
setTotal(Integer total)
Sets the total amount of this resource. |
String
|
toString()
Returns the available and total amounts as a string, such as "[available:1, total:3]". |
| Methods inherited from class Object | |
|---|---|
| wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
| Field Detail |
|---|
private Integer available
private Integer total
| Constructor Detail |
|---|
ReportResource()
| Method Detail |
|---|
public Integer getAvailable()
public Integer getTotal()
public void setAvailable(Integer available)
available - The value to set
public void setTotal(Integer total)
total - The value to set
de public public String toString()
Groovy Documentation