public class SwarmProperties extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
BIND_ADDRESS
Interface to bind servers, defaults to 0.0.0.0
|
static String |
BUILD_MODULES
Internal property
|
static String |
BUILD_REPOS
Internal property
|
static String |
CONSUL_URL
Full qualified http address, i.e.
|
static String |
CURRENT_DEPLOYMENT
Internal property
|
static String |
DEBUG_PORT
If provided, the swarm process will pause for debugging on the given port.
|
static String |
DEPLOYMENT_TIMEOUT
Timeout, in seconds, to wait for a deployment to occur, defaults to 300
|
static String |
ENVIRONMENT
The environment this process is running on (eg.
|
static String |
EXPORT_DEPLOYMENT
Causes a deployed artifact to be dumped to disk when swarm starts, for debugging.
|
static String |
EXPORT_UBERJAR
Internal property
|
static String |
HTTP_EAGER
Since introducing the delayed open HTTP listeners, it has been determined
that maybe it'd be useful to be able to eagerly open the listeners through usage of a property.
|
static String |
NODE_ID
Internal property
|
static String |
PORT_OFFSET
Sets a global port adjustment, defaults to 0
|
static String |
PROJECT_STAGE
Activates a stage in project-stages.yml
|
static String |
VERSION
Internal property
|
| Constructor and Description |
|---|
SwarmProperties() |
| Modifier and Type | Method and Description |
|---|---|
static String |
propertyVar(String property)
Formats a property as ${property}
|
static String |
propertyVar(String property,
String defaultValue)
Formats a property as ${property:defaultValue}
|
public static final String VERSION
public static final String EXPORT_DEPLOYMENT
falsepublic static final String BUILD_MODULES
public static final String BUILD_REPOS
public static final String EXPORT_UBERJAR
public static final String CURRENT_DEPLOYMENT
public static final String NODE_ID
public static final String PORT_OFFSET
public static final String BIND_ADDRESS
public static final String HTTP_EAGER
null, will cause the http listeners to not be lazy.public static final String DEBUG_PORT
public static final String ENVIRONMENT
public static final String PROJECT_STAGE
public static final String CONSUL_URL
public static final String DEPLOYMENT_TIMEOUT
Copyright © 2016 JBoss by Red Hat. All rights reserved.