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

net.java.dev.vcc.api.profiles.BasicProfile 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.profiles;

import net.java.dev.vcc.api.Computer;
import net.java.dev.vcc.api.Datacenter;
import net.java.dev.vcc.api.commands.RestartComputer;
import net.java.dev.vcc.api.commands.StartComputer;
import net.java.dev.vcc.api.commands.StopComputer;

/**
 * The most basic profile.
 */
public final class BasicProfile extends AbstractProfile {

    private static class ResourceHolder {
        private static final BasicProfile INSTANCE = new BasicProfile();
    }

    private BasicProfile() {
        super(with(Datacenter.class),
                with(Computer.class, StartComputer.class, StopComputer.class, RestartComputer.class));
    }

    public static BasicProfile getInstance() {
        return ResourceHolder.INSTANCE;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy