Class DeploymentProperties
java.lang.Object
org.springframework.cloud.appbroker.deployer.DeploymentProperties
- Direct Known Subclasses:
CloudFoundryDeploymentProperties
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The deployment property for the count (number of app instances).static final String
The deployment property for the disk setting for the container that will run the app.static final String
The deployment property for the host that will be used in the app.static final String
The deployment property for the memory setting for the container that will run the app.static final String
The deployment property indicating whether the application should be automatically started after deployment.static final String
The deployment property for the location where the app will be deployed.static final String
The deployment property indicating whether the application should use the SPRING_APPLICATION_JSON environment variable -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCount()
getDisk()
getHost()
boolean
void
setCount
(int count) void
void
void
void
setUseSpringApplicationJson
(boolean useSpringApplicationJson)
-
Field Details
-
COUNT_PROPERTY_KEY
The deployment property for the count (number of app instances). If not provided, a deployer should assume 1 instance.- See Also:
-
MEMORY_PROPERTY_KEY
The deployment property for the memory setting for the container that will run the app. The memory is specified in Mebibytes, by default, with optional case-insensitive trailing unit 'm' and 'g' being supported, for mebi- and giga- respectively.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.
- See Also:
-
DISK_PROPERTY_KEY
The deployment property for the disk setting for the container that will run the app. The memory is specified in Mebibytes, by default, with optional case-insensitive trailing unit 'm' and 'g' being supported, for mebi- and giga- respectively.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.
- See Also:
-
HOST_PROPERTY_KEY
The deployment property for the host that will be used in the app.- See Also:
-
TARGET_PROPERTY_KEY
The deployment property for the location where the app will be deployed. The location will vary between implementations.- See Also:
-
START_PROPERTY_KEY
The deployment property indicating whether the application should be automatically started after deployment. Defaults to true.- See Also:
-
USE_SPRING_APPLICATION_JSON_KEY
The deployment property indicating whether the application should use the SPRING_APPLICATION_JSON environment variable- See Also:
-
-
Constructor Details
-
DeploymentProperties
public DeploymentProperties()
-
-
Method Details
-
getMemory
-
setMemory
-
getDisk
-
setDisk
-
getCount
-
setCount
public void setCount(int count) -
getHost
-
setHost
-
isUseSpringApplicationJson
public boolean isUseSpringApplicationJson() -
setUseSpringApplicationJson
public void setUseSpringApplicationJson(boolean useSpringApplicationJson)
-