public class BootClusterConfig extends java.lang.Object implements SchemaBean
Constructor and Description |
---|
BootClusterConfig(BootResinConfig resinConfig)
Creates a new resin server.
|
Modifier and Type | Method and Description |
---|---|
void |
addContentProgram(ConfigProgram program)
Managed by watchdog.
|
BootServerConfig |
addDynamicServer(CloudServer cloudServer) |
void |
addPod(BootPodConfig pod) |
void |
addServer(BootServerConfig server) |
void |
addServerDefault(ContainerProgram program)
Adds a
|
void |
addServerMulti(BootServerMultiConfig multiServer) |
BootPodConfig |
createPod() |
BootServerConfig |
createServer() |
java.lang.String |
getId()
Returns the cluster's id
|
java.util.ArrayList<BootPodConfig> |
getPodList() |
java.lang.String |
getSchema()
Returns the relax schema.
|
ContainerProgram |
getServerDefault() |
ContainerProgram |
getServerMultiDefault() |
void |
init() |
void |
setId(java.lang.String id)
Sets the cluster's id
|
java.lang.String |
toString() |
public BootClusterConfig(BootResinConfig resinConfig)
public java.lang.String getSchema()
getSchema
in interface SchemaBean
public java.lang.String getId()
@Configurable public void setId(java.lang.String id)
@Configurable public void addServerDefault(ContainerProgram program)
public ContainerProgram getServerDefault()
public ContainerProgram getServerMultiDefault()
@Configurable public BootPodConfig createPod() throws ConfigException
ConfigException
@Configurable public void addPod(BootPodConfig pod)
@Configurable public BootServerConfig createServer() throws ConfigException
ConfigException
@Configurable public void addServer(BootServerConfig server)
public void addServerMulti(BootServerMultiConfig multiServer)
public java.util.ArrayList<BootPodConfig> getPodList()
public void addContentProgram(ConfigProgram program)
@PostConstruct public void init()
public BootServerConfig addDynamicServer(CloudServer cloudServer)
public java.lang.String toString()
toString
in class java.lang.Object