public class DeploymentConfig
extends exa.bee.config.Versioned
implements com.exalead.util.Checkable, java.io.Serializable
PortRange
used by hosts.Host
part of the cluster configuration.Modifier and Type | Field and Description |
---|---|
java.lang.String |
description |
java.util.List<Host> |
host |
int |
hostAgentPort |
PortRange |
portRange |
java.util.List<VirtualService> |
virtualService |
Constructor and Description |
---|
DeploymentConfig() |
DeploymentConfig(DeploymentConfig o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this DeploymentConfig.
|
static DeploymentConfig |
fromString(java.lang.String s)
String representation of this DeploymentConfig.
|
java.lang.String |
getDescription()
A descriptive name for this deployment, that will appear
in the Admin-UI, for identification purposes |
java.util.List<Host> |
getHost()
-
|
int |
getHostAgentPort()
Default port for the hostagent if not defined in each host
|
PortRange |
getPortRange()
-
|
java.util.List<VirtualService> |
getVirtualService()
-
|
DeploymentConfig |
makeCopy()
Creates and returns a deep copy of this DeploymentConfig.
|
static DeploymentConfig |
readFrom(java.io.InputStream is)
Read this DeploymentConfig from an XML fragment.
|
void |
setDescription(java.lang.String description)
A descriptive name for this deployment, that will appear
in the Admin-UI, for identification purposes |
void |
setHostAgentPort(int hostAgentPort)
Default port for the hostagent if not defined in each host
|
void |
setPortRange(PortRange portRange)
-
|
java.lang.String |
toString()
String representation of this DeploymentConfig.
|
DeploymentConfig |
withDescription(java.lang.String description) |
DeploymentConfig |
withHost(java.util.Collection<Host> __values) |
DeploymentConfig |
withHost(Host... __values)
-
|
DeploymentConfig |
withHostAgentPort(int hostAgentPort) |
DeploymentConfig |
withHostAgentPort(java.lang.Integer hostAgentPort) |
DeploymentConfig |
withPortRange(PortRange portRange) |
DeploymentConfig |
withVersion(long version) |
DeploymentConfig |
withVersion(java.lang.Long version) |
DeploymentConfig |
withVirtualService(java.util.Collection<VirtualService> __values) |
DeploymentConfig |
withVirtualService(VirtualService... __values)
-
|
void |
writeTo(java.io.OutputStream os)
Write this DeploymentConfig as an XML fragment
|
public PortRange portRange
public java.util.List<Host> host
public java.util.List<VirtualService> virtualService
public java.lang.String description
public int hostAgentPort
public DeploymentConfig()
public DeploymentConfig(DeploymentConfig o)
public DeploymentConfig withVersion(long version)
withVersion
in class exa.bee.config.Versioned
public DeploymentConfig withVersion(java.lang.Long version)
withVersion
in class exa.bee.config.Versioned
public void setPortRange(PortRange portRange)
public PortRange getPortRange()
public DeploymentConfig withPortRange(PortRange portRange)
public java.util.List<Host> getHost()
public DeploymentConfig withHost(Host... __values)
public DeploymentConfig withHost(java.util.Collection<Host> __values)
public java.util.List<VirtualService> getVirtualService()
public DeploymentConfig withVirtualService(VirtualService... __values)
public DeploymentConfig withVirtualService(java.util.Collection<VirtualService> __values)
public void setDescription(java.lang.String description)
public java.lang.String getDescription()
public DeploymentConfig withDescription(java.lang.String description)
public void setHostAgentPort(int hostAgentPort)
public int getHostAgentPort()
public DeploymentConfig withHostAgentPort(int hostAgentPort)
public DeploymentConfig withHostAgentPort(java.lang.Integer hostAgentPort)
public DeploymentConfig makeCopy()
makeCopy
in class exa.bee.config.Versioned
public static DeploymentConfig readFrom(java.io.InputStream is) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public void writeTo(java.io.OutputStream os) throws javax.xml.bind.JAXBException, java.io.IOException
writeTo
in class exa.bee.config.Versioned
javax.xml.bind.JAXBException
java.io.IOException
public static DeploymentConfig fromString(java.lang.String s) throws javax.xml.bind.JAXBException, java.io.UnsupportedEncodingException
javax.xml.bind.JAXBException
java.io.UnsupportedEncodingException
public java.lang.String toString()
toString
in class exa.bee.config.Versioned
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
check
in class exa.bee.config.Versioned
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.