
net.java.dev.vcc.api.Datacenter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vcc-api Show documentation
Show all versions of vcc-api Show documentation
The API for control of virtual computers running on a virtual computer host
The newest version!
package net.java.dev.vcc.api;
import java.util.Set;
/**
* Represeents a datacenter of {@link Host}s for virtual {@link Computer}s.
*
* @author Stephen Connolly
*/
public interface Datacenter
extends ManagedObject, CapabilityProfile, DatacenterResourceContainer {
/**
* Gets all the power states that are supported by this connection.
*
* @return the power states that are supported by this connection.
*/
Set getAllowedStates();
/**
* Gets all the power states that can be transitioned to from a specific power state.
*
* @param from the power state to transition from.
* @return the power states that a computer can be transitioned to.
*/
Set getAllowedStates(PowerState from);
/**
* Closes the connection releasing any handles.
*/
void close();
/**
* Gets the state of the connection.
*
* @return {@code true} if the connection is open.
*/
boolean isOpen();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy