public class Deployment extends Object
Constructor and Description |
---|
Deployment() |
Modifier and Type | Method and Description |
---|---|
static Deployment |
create(Map<String,Object> config) |
static Deployment |
enrich(Deployment deploy,
Map<String,String> properties)
Creates a new deployment enriched with additional properties.
|
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() |
boolean |
isStandaloneDeployment() |
static Deployment |
merge(Deployment deploy1,
Deployment deploy2)
Merges two deployments.
|
Map<String,String> |
toProperties() |
public boolean isStandaloneDeployment()
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 Deployment create(Map<String,Object> config)
public static Deployment merge(Deployment deploy1, Deployment deploy2)
public static Deployment enrich(Deployment deploy, Map<String,String> properties)
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.