public class DeploymentProperties extends Object
Modifier and Type | Field and Description |
---|---|
static String |
COUNT_PROPERTY_KEY
The deployment property for the count (number of app instances).
|
static String |
DISK_PROPERTY_KEY
The deployment property for the disk setting for the container that will run the app.
|
static String |
HOST_PROPERTY_KEY
The deployment property for the host that will be used in the app.
|
static String |
MEMORY_PROPERTY_KEY
The deployment property for the memory setting for the container that will run the app.
|
static String |
START_PROPERTY_KEY
The deployment property indicating whether the application should be automatically started after deployment.
|
static String |
TARGET_PROPERTY_KEY
The deployment property for the location where the app will be deployed.
|
static String |
USE_SPRING_APPLICATION_JSON_KEY |
Constructor and Description |
---|
DeploymentProperties() |
Modifier and Type | Method and Description |
---|---|
Integer |
getCount() |
String |
getDisk() |
String |
getHost() |
String |
getMemory() |
boolean |
isUseSpringApplicationJson() |
void |
setCount(int count) |
void |
setDisk(String disk) |
void |
setHost(String host) |
void |
setMemory(String memory) |
void |
setUseSpringApplicationJson(boolean useSpringApplicationJson) |
public static final String COUNT_PROPERTY_KEY
public static final String MEMORY_PROPERTY_KEY
1 MiB = 2^20 bytes = 1024*1024 bytes vs. the decimal based 1MB = 10^6 bytes = 1000*1000 bytes,
Implementations are expected to translate this value to the target platform as faithfully as possible.
public static final String DISK_PROPERTY_KEY
1 MiB = 2^20 bytes = 1024*1024 bytes vs. the decimal based 1MB = 10^6 bytes = 1000*1000 bytes,
Implementations are expected to translate this value to the target platform as faithfully as possible.
public static final String HOST_PROPERTY_KEY
public static final String TARGET_PROPERTY_KEY
public static final String START_PROPERTY_KEY
public static final String USE_SPRING_APPLICATION_JSON_KEY
public String getMemory()
public void setMemory(String memory)
public String getDisk()
public void setDisk(String disk)
public Integer getCount()
public void setCount(int count)
public String getHost()
public void setHost(String host)
public boolean isUseSpringApplicationJson()
public void setUseSpringApplicationJson(boolean useSpringApplicationJson)