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
FieldsModifier and TypeFieldDescriptionprotected static final StringKey for storing the api completion timeout property in seconds.protected static final StringKey for storing the buildpack deployment propertyprotected static final StringKey for storing the buildpacks deployment propertystatic final longThe default value for theapiPollingTimeoutproperty.protected static final StringKey for storing the domain deployment propertyprotected static final StringKey for storing the domains deployment propertyprotected static final StringKey for storing the health check endpoint deployment propertyprotected static final StringKey for storing the health check deployment propertyprotected static final StringKey for storing the health check timeout deployment propertyprotected static final StringKey for storing JAVA_OPTS deployment propertyprotected static final StringKey for storing a property describing whether routes are definedprotected static final StringKey for storing the route path deployment propertyprotected static final StringKey for storing the routes deployment propertyprotected static final StringKey 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonglongorg.cloudfoundry.operations.applications.ApplicationHealthCheckgetStack()longbooleanbooleanvoidsetApiPollingTimeout(long apiPollingTimeout) voidsetApiTimeout(long apiTimeout) voidsetBuildpack(String buildpack) voidsetBuildpacks(String buildpacks) voidsetDeleteRoutes(boolean deleteRoutes) voidvoidsetDomains(Set<String> domains) voidsetEnableRandomAppNamePrefix(boolean enableRandomAppNamePrefix) voidsetHealthCheck(org.cloudfoundry.operations.applications.ApplicationHealthCheck healthCheck) voidsetHealthCheckHttpEndpoint(String healthCheckHttpEndpoint) voidsetHealthCheckTimeout(Integer healthCheckTimeout) voidsetJavaOpts(String javaOpts) voidvoidvoidsetStagingTimeout(Duration stagingTimeout) voidsetStartupTimeout(Duration startupTimeout) voidsetStatusTimeout(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 theapiPollingTimeoutproperty. 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)
-