Groovy Documentation

com.adaptc.mws.plugins
[Java] Interface IVirtualMachineRMService


public interface IVirtualMachineRMService

The VM resource management service consists of methods to retrieve and save VMs reports. These reports are consolidated and returned to Moab.

For more information on how to use this service, see the MWS Quick Reference page on Virtual Machine RM Service.

Authors:
bsaville


Method Summary
List list()

Retrieves a list of all VM reports which were given originally by this plugin.

void save(List virtualMachineReports)

Saves a list of VM reports in the cache while at the same time clearing out any and all VM reports made previously by the calling plugin.

void update(List virtualMachineReports)

Adds a list of VM reports to the cache without clearing out any VM reports.

 

Method Detail

list

public List list()
Retrieves a list of all VM reports which were given originally by this plugin.
Returns:
A list of all VM reports made by this plugin.


save

public void save(List virtualMachineReports)
Saves a list of VM reports in the cache while at the same time clearing out any and all VM reports made previously by the calling plugin. In effect, this replaces all VM reports made previously. These will be reported to Moab through the Cluster Query.
Parameters:
virtualMachineReports - The list of VM reports to save.


update

public void update(List virtualMachineReports)
Adds a list of VM reports to the cache without clearing out any VM reports. This should be used to make incremental updates to the reports. These will be reported to Moab through the Cluster Query.
Parameters:
virtualMachineReports - The list of VM reports to add.


 

Groovy Documentation