All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.java.dev.vcc.api.Datacenter Maven / Gradle / Ivy

Go to download

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