Module com.aoindustries.web.struts
Class ServerConfiguration
java.lang.Object
com.aoindustries.web.struts.signup.ServerConfiguration
Keeps track of one possible server configuration. Also provides a set of static methods that create commonly-used configurations
such as maximum and minimum.
- Author:
- AO Industries, Inc.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCpu()
getDisk()
static ServerConfiguration
getMaximumConfiguration
(PackageDefinition packageDefinition) static ServerConfiguration
getMinimumConfiguration
(PackageDefinition packageDefinition) getName()
int
getPower()
getRam()
getSetup()
-
Constructor Details
-
ServerConfiguration
-
-
Method Details
-
getMinimumConfiguration
public static ServerConfiguration getMinimumConfiguration(PackageDefinition packageDefinition) throws SQLException, IOException - Throws:
SQLException
IOException
-
getMaximumConfiguration
public static ServerConfiguration getMaximumConfiguration(PackageDefinition packageDefinition) throws SQLException, IOException - Throws:
SQLException
IOException
-
getPackageDefinition
public int getPackageDefinition() -
getName
-
getPower
-
getCpu
-
getRam
-
getSataController
-
getScsiController
-
getSetup
-
getMonthly
-
getDisk
-