public class DeploymentEntry extends Object
All properties of this entry are optional and evaluated lazily.
Modifier and Type | Field and Description |
---|---|
static DeploymentEntry |
DEFAULT_INSTANCE |
protected DescriptorProperties |
properties |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
asMap() |
Map<String,String> |
asTopLevelMap() |
static DeploymentEntry |
create(Map<String,Object> config) |
static DeploymentEntry |
enrich(DeploymentEntry deployment,
Map<String,String> prefixedProperties)
Creates a new deployment entry enriched with additional properties that are prefixed with
Environment.DEPLOYMENT_ENTRY . |
boolean |
equals(Object o) |
org.apache.commons.cli.CommandLine |
getCommandLine(org.apache.commons.cli.Options commandLineOptions)
Parses the given command line options from the deployment properties.
|
String |
getGatewayAddress() |
int |
getGatewayPort() |
long |
getResponseTimeout() |
int |
hashCode() |
static DeploymentEntry |
merge(DeploymentEntry deployment1,
DeploymentEntry deployment2)
Merges two deployments entries.
|
protected void |
validate(DescriptorProperties properties)
Performs syntactic validation.
|
public static final DeploymentEntry DEFAULT_INSTANCE
protected final DescriptorProperties properties
protected void validate(DescriptorProperties properties)
public long getResponseTimeout()
public String getGatewayAddress()
public int getGatewayPort()
public org.apache.commons.cli.CommandLine getCommandLine(org.apache.commons.cli.Options commandLineOptions) throws Exception
Exception
public static DeploymentEntry create(Map<String,Object> config)
public static DeploymentEntry merge(DeploymentEntry deployment1, DeploymentEntry deployment2)
public static DeploymentEntry enrich(DeploymentEntry deployment, Map<String,String> prefixedProperties)
Environment.DEPLOYMENT_ENTRY
.Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.