public class ServiceConfiguration
extends java.lang.Object
| Constructor and Description |
|---|
ServiceConfiguration()
Default constructor.
|
ServiceConfiguration(java.lang.String serviceName)
Constructor for ServiceConfig.
|
ServiceConfiguration(java.lang.String name,
java.lang.String image)
Object constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addConfig(java.lang.String name,
java.lang.Object object) |
java.lang.Class<?> |
getAnnotationClass()
Getter for the field
annotationClass. |
ContainerConfig |
getContainerConfig()
Getter for the field
containerConfig. |
ExecutionMode |
getExecutionMode()
Getter for the field
executionMode. |
java.lang.String |
getGatewayUrl() |
JettyConfig |
getJettyConfig() |
DeploymentMode |
getMode() |
ModuleConfig |
getModules() |
ConfigMap |
getServiceConfig() |
java.lang.String |
getServiceName() |
java.io.File |
getWebappDirectory() |
WebConfig |
getWebConfig() |
ServiceConfiguration |
lightweightCopy() |
java.lang.String |
serviceUrl() |
void |
setAnnotationClass(java.lang.Class<?> annotationClass)
Setter for the field
annotationClass. |
void |
setContainerConfig(ContainerConfig containerConfig)
Setter for the field
containerConfig. |
void |
setExecutionMode(ExecutionMode executionMode)
Setter for the field
executionMode. |
void |
setGatewayUrl(java.lang.String url) |
void |
setJettyConfig(JettyConfig jettyConfig) |
void |
setMode(DeploymentMode mode) |
void |
setModules(ModuleConfig modules) |
void |
setServiceConfig(ConfigMap serviceConfig) |
void |
setServiceName(java.lang.String serviceName) |
void |
setWebappDirectory(java.io.File webappDirectory) |
void |
setWebConfig(WebConfig webConfig) |
public ServiceConfiguration()
public ServiceConfiguration(java.lang.String serviceName)
Constructor for ServiceConfig.
serviceName - a String object.public ServiceConfiguration(java.lang.String name,
java.lang.String image)
name - Service name.image - Service image path.public WebConfig getWebConfig()
public void setWebConfig(WebConfig webConfig)
public java.lang.Class<?> getAnnotationClass()
Getter for the field annotationClass.
Class object.public void setAnnotationClass(java.lang.Class<?> annotationClass)
Setter for the field annotationClass.
annotationClass - a Class object.public ExecutionMode getExecutionMode()
Getter for the field executionMode.
ExecutionMode object.public void setExecutionMode(ExecutionMode executionMode)
Setter for the field executionMode.
executionMode - a ExecutionMode object.public ContainerConfig getContainerConfig()
Getter for the field containerConfig.
ContainerConfig object.public void setContainerConfig(ContainerConfig containerConfig)
Setter for the field containerConfig.
containerConfig - a ContainerConfig object.public java.lang.String getServiceName()
public void setServiceName(java.lang.String serviceName)
public java.io.File getWebappDirectory()
public void setWebappDirectory(java.io.File webappDirectory)
public java.lang.String getGatewayUrl()
public void setGatewayUrl(java.lang.String url)
public JettyConfig getJettyConfig()
public void setJettyConfig(JettyConfig jettyConfig)
public ModuleConfig getModules()
public void setModules(ModuleConfig modules)
public ConfigMap getServiceConfig()
public void setServiceConfig(ConfigMap serviceConfig)
public void addConfig(java.lang.String name,
java.lang.Object object)
public DeploymentMode getMode()
public void setMode(DeploymentMode mode)
public ServiceConfiguration lightweightCopy()
public java.lang.String serviceUrl()
Copyright © 2021. All rights reserved.