net.java.dev.vcc.api
Interface Datacenter

All Superinterfaces:
CapabilityProfile, ManagedObject<Datacenter>
All Known Implementing Classes:
AbstractDatacenter

public interface Datacenter
extends ManagedObject<Datacenter>, CapabilityProfile

Represeents a datacenter of Hosts for virtual Computers.


Method Summary
 void close()
          Closes the connection releasing any handles.
 java.util.Set<Computer> getAllComputers()
          Gets all the virtual computers that are contained in this container including children.
 java.util.Set<ComputerTemplate> getAllComputerTemplates()
          Gets all the computer templates that are contained in this container including children.
 java.util.Set<DatacenterResourceGroup> getAllDatacenterResourceGroups()
          Gets all the DatacenterResourceGroups that are contained in this container including children.
 java.util.Set<HostResourceGroup> getAllHostResourceGroups()
          Gets all the HostResourceGroups that are contained in this container including children.
 java.util.Set<Host> getAllHosts()
          Gets all the hosts available for running virtual computers that are contained in this container including children.
 java.util.Set<PowerState> getAllowedStates()
          Gets all the power states that are supported by this connection.
 java.util.Set<PowerState> getAllowedStates(PowerState from)
          Gets all the power states that can be transitioned to from a specific power state.
 java.util.Set<ComputerTemplate> getComputerTemplates()
          Gets all the computer templates that are contained in this container.
 java.util.Set<DatacenterResourceGroup> getDatacenterResourceGroups()
          Gets alll the DatacenterResourceGroups that are contained in this container.
 java.util.Set<Host> getHosts()
          Gets all the hosts available for running virtual computers that are contained in this container.
 boolean isOpen()
          Gets the state of the connection.
 
Methods inherited from interface net.java.dev.vcc.api.ManagedObject
execute, getCommands, getDescription, getId, getName
 
Methods inherited from interface net.java.dev.vcc.api.CapabilityProfile
getCommands, getObjectClasses, supports
 

Method Detail

getAllowedStates

java.util.Set<PowerState> getAllowedStates()
Gets all the power states that are supported by this connection.

Returns:
the power states that are supported by this connection.

getAllowedStates

java.util.Set<PowerState> getAllowedStates(PowerState from)
Gets all the power states that can be transitioned to from a specific power state.

Parameters:
from - the power state to transition from.
Returns:
the power states that a computer can be transitioned to.

close

void close()
Closes the connection releasing any handles.


isOpen

boolean isOpen()
Gets the state of the connection.

Returns:
true if the connection is open.

getComputerTemplates

java.util.Set<ComputerTemplate> getComputerTemplates()
Gets all the computer templates that are contained in this container.

Returns:
the computer templates that are contained in this container.

getDatacenterResourceGroups

java.util.Set<DatacenterResourceGroup> getDatacenterResourceGroups()
Gets alll the DatacenterResourceGroups that are contained in this container.

Returns:
the DatacenterResourceGroups that are contained in this container.

getHosts

java.util.Set<Host> getHosts()
Gets all the hosts available for running virtual computers that are contained in this container.

Returns:
the hosts available for running virtual computers that are contained in this container.

getAllComputers

java.util.Set<Computer> getAllComputers()
Gets all the virtual computers that are contained in this container including children.

Returns:
the virtual computers that are contained in this container including children.

getAllComputerTemplates

java.util.Set<ComputerTemplate> getAllComputerTemplates()
Gets all the computer templates that are contained in this container including children.

Returns:
the computer templates that are contained in this container including children.

getAllDatacenterResourceGroups

java.util.Set<DatacenterResourceGroup> getAllDatacenterResourceGroups()
Gets all the DatacenterResourceGroups that are contained in this container including children.

Returns:
the DatacenterResourceGroups that are contained in this container including children.

getAllHostResourceGroups

java.util.Set<HostResourceGroup> getAllHostResourceGroups()
Gets all the HostResourceGroups that are contained in this container including children.

Returns:
the HostResourceGroups that are contained in this container including children.

getAllHosts

java.util.Set<Host> getAllHosts()
Gets all the hosts available for running virtual computers that are contained in this container including children.

Returns:
the hosts available for running virtual computers that are contained in this container including children.


Copyright © 2009. All Rights Reserved.