Class CloudFoundryDeploymentProperties
java.lang.Object
org.springframework.cloud.appbroker.deployer.DeploymentProperties
org.springframework.cloud.appbroker.deployer.cloudfoundry.CloudFoundryDeploymentProperties
Holds configuration properties for specifying what resources and services an app deployed to a Cloud Foundry runtime
will get.
- Author:
- Eric Bottard, Greg Turnquist, Ilayaperumal Gopinathan
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final String
Key for storing the api completion timeout property in seconds.protected static final String
Key for storing the buildpack deployment propertyprotected static final String
Key for storing the buildpacks deployment propertystatic final long
The default value for theapiPollingTimeout
property.protected static final String
Key for storing the domain deployment propertyprotected static final String
Key for storing the domains deployment propertyprotected static final String
Key for storing the health check endpoint deployment propertyprotected static final String
Key for storing the health check deployment propertyprotected static final String
Key for storing the health check timeout deployment propertyprotected static final String
Key for storing JAVA_OPTS deployment propertyprotected static final String
Key for storing a property describing whether routes are definedprotected static final String
Key for storing the route path deployment propertyprotected static final String
Key for storing the routes deployment propertyprotected static final String
Key for storing the stack deployment propertyFields inherited from class org.springframework.cloud.appbroker.deployer.DeploymentProperties
COUNT_PROPERTY_KEY, DISK_PROPERTY_KEY, HOST_PROPERTY_KEY, MEMORY_PROPERTY_KEY, START_PROPERTY_KEY, TARGET_PROPERTY_KEY, USE_SPRING_APPLICATION_JSON_KEY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
long
org.cloudfoundry.operations.applications.ApplicationHealthCheck
getStack()
long
boolean
boolean
void
setApiPollingTimeout
(long apiPollingTimeout) void
setApiTimeout
(long apiTimeout) void
setBuildpack
(String buildpack) void
setBuildpacks
(String buildpacks) void
setDeleteRoutes
(boolean deleteRoutes) void
void
setDomains
(Set<String> domains) void
setEnableRandomAppNamePrefix
(boolean enableRandomAppNamePrefix) void
setHealthCheck
(org.cloudfoundry.operations.applications.ApplicationHealthCheck healthCheck) void
setHealthCheckHttpEndpoint
(String healthCheckHttpEndpoint) void
setHealthCheckTimeout
(Integer healthCheckTimeout) void
setJavaOpts
(String javaOpts) void
void
void
setStagingTimeout
(Duration stagingTimeout) void
setStartupTimeout
(Duration startupTimeout) void
setStatusTimeout
(long statusTimeout) Methods inherited from class org.springframework.cloud.appbroker.deployer.DeploymentProperties
getCount, getDisk, getHost, getMemory, isUseSpringApplicationJson, setCount, setDisk, setHost, setMemory, setUseSpringApplicationJson
-
Field Details
-
HEALTHCHECK_PROPERTY_KEY
Key for storing the health check deployment property- See Also:
-
HEALTHCHECK_HTTP_ENDPOINT_PROPERTY_KEY
Key for storing the health check endpoint deployment property- See Also:
-
HEALTHCHECK_TIMEOUT_PROPERTY_KEY
Key for storing the health check timeout deployment property- See Also:
-
API_POLLING_TIMEOUT_PROPERTY_KEY
Key for storing the api completion timeout property in seconds.- See Also:
-
ROUTE_PATH_PROPERTY
Key for storing the route path deployment property- See Also:
-
ROUTES_PROPERTY
Key for storing the routes deployment property- See Also:
-
NO_ROUTE_PROPERTY
Key for storing a property describing whether routes are defined- See Also:
-
DOMAIN_PROPERTY
Key for storing the domain deployment property- See Also:
-
DOMAINS_PROPERTY
Key for storing the domains deployment property- See Also:
-
BUILDPACK_PROPERTY_KEY
Key for storing the buildpack deployment property- See Also:
-
BUILDPACKS_PROPERTY_KEY
Key for storing the buildpacks deployment property- See Also:
-
STACK_PROPERTY_KEY
Key for storing the stack deployment property- See Also:
-
JAVA_OPTS_PROPERTY_KEY
Key for storing JAVA_OPTS deployment property- See Also:
-
DEFAULT_API_POLLING_TIMEOUT_SECONDS
public static final long DEFAULT_API_POLLING_TIMEOUT_SECONDSThe default value for theapiPollingTimeout
property. Useful in unit tests to assert default value when not assigned specifically.
-
-
Constructor Details
-
CloudFoundryDeploymentProperties
public CloudFoundryDeploymentProperties()
-
-
Method Details
-
getBuildpack
-
setBuildpack
-
getBuildpacks
-
setBuildpacks
-
getStack
-
setStack
-
isEnableRandomAppNamePrefix
public boolean isEnableRandomAppNamePrefix() -
setEnableRandomAppNamePrefix
public void setEnableRandomAppNamePrefix(boolean enableRandomAppNamePrefix) -
getApiTimeout
public long getApiTimeout() -
setApiTimeout
public void setApiTimeout(long apiTimeout) -
getHealthCheck
public org.cloudfoundry.operations.applications.ApplicationHealthCheck getHealthCheck() -
setHealthCheck
public void setHealthCheck(org.cloudfoundry.operations.applications.ApplicationHealthCheck healthCheck) -
getHealthCheckHttpEndpoint
-
setHealthCheckHttpEndpoint
-
getHealthCheckTimeout
-
setHealthCheckTimeout
-
getDomain
-
setDomain
-
getDomains
-
setDomains
-
getRoutes
-
setRoutes
-
getStagingTimeout
-
setStagingTimeout
-
getStartupTimeout
-
setStartupTimeout
-
getStatusTimeout
public long getStatusTimeout() -
setStatusTimeout
public void setStatusTimeout(long statusTimeout) -
isDeleteRoutes
public boolean isDeleteRoutes() -
setDeleteRoutes
public void setDeleteRoutes(boolean deleteRoutes) -
getJavaOpts
-
setJavaOpts
-
getApiPollingTimeout
public long getApiPollingTimeout() -
setApiPollingTimeout
public void setApiPollingTimeout(long apiPollingTimeout)
-