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