Class CloudFoundryDeploymentProperties

java.lang.Object
org.springframework.cloud.appbroker.deployer.DeploymentProperties
org.springframework.cloud.appbroker.deployer.cloudfoundry.CloudFoundryDeploymentProperties

public class CloudFoundryDeploymentProperties extends DeploymentProperties
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 Details

    • HEALTHCHECK_PROPERTY_KEY

      protected static final String HEALTHCHECK_PROPERTY_KEY
      Key for storing the health check deployment property
      See Also:
    • HEALTHCHECK_HTTP_ENDPOINT_PROPERTY_KEY

      protected static final String HEALTHCHECK_HTTP_ENDPOINT_PROPERTY_KEY
      Key for storing the health check endpoint deployment property
      See Also:
    • HEALTHCHECK_TIMEOUT_PROPERTY_KEY

      protected static final String HEALTHCHECK_TIMEOUT_PROPERTY_KEY
      Key for storing the health check timeout deployment property
      See Also:
    • API_POLLING_TIMEOUT_PROPERTY_KEY

      protected static final String API_POLLING_TIMEOUT_PROPERTY_KEY
      Key for storing the api completion timeout property in seconds.
      See Also:
    • ROUTE_PATH_PROPERTY

      protected static final String ROUTE_PATH_PROPERTY
      Key for storing the route path deployment property
      See Also:
    • ROUTES_PROPERTY

      protected static final String ROUTES_PROPERTY
      Key for storing the routes deployment property
      See Also:
    • NO_ROUTE_PROPERTY

      protected static final String NO_ROUTE_PROPERTY
      Key for storing a property describing whether routes are defined
      See Also:
    • DOMAIN_PROPERTY

      protected static final String DOMAIN_PROPERTY
      Key for storing the domain deployment property
      See Also:
    • DOMAINS_PROPERTY

      protected static final String DOMAINS_PROPERTY
      Key for storing the domains deployment property
      See Also:
    • BUILDPACK_PROPERTY_KEY

      protected static final String BUILDPACK_PROPERTY_KEY
      Key for storing the buildpack deployment property
      See Also:
    • BUILDPACKS_PROPERTY_KEY

      protected static final String BUILDPACKS_PROPERTY_KEY
      Key for storing the buildpacks deployment property
      See Also:
    • STACK_PROPERTY_KEY

      protected static final String STACK_PROPERTY_KEY
      Key for storing the stack deployment property
      See Also:
    • JAVA_OPTS_PROPERTY_KEY

      protected static final String 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_SECONDS
      The default value for the apiPollingTimeout property. Useful in unit tests to assert default value when not assigned specifically.
  • Constructor Details

    • CloudFoundryDeploymentProperties

      public CloudFoundryDeploymentProperties()
  • Method Details

    • getBuildpack

      public String getBuildpack()
    • setBuildpack

      public void setBuildpack(String buildpack)
    • getBuildpacks

      public String getBuildpacks()
    • setBuildpacks

      public void setBuildpacks(String buildpacks)
    • getStack

      public String getStack()
    • setStack

      public void setStack(String stack)
    • 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

      public String getHealthCheckHttpEndpoint()
    • setHealthCheckHttpEndpoint

      public void setHealthCheckHttpEndpoint(String healthCheckHttpEndpoint)
    • getHealthCheckTimeout

      public Integer getHealthCheckTimeout()
    • setHealthCheckTimeout

      public void setHealthCheckTimeout(Integer healthCheckTimeout)
    • getDomain

      public String getDomain()
    • setDomain

      public void setDomain(String domain)
    • getDomains

      public Set<String> getDomains()
    • setDomains

      public void setDomains(Set<String> domains)
    • getRoutes

      public Set<String> getRoutes()
    • setRoutes

      public void setRoutes(Set<String> routes)
    • getStagingTimeout

      public Duration getStagingTimeout()
    • setStagingTimeout

      public void setStagingTimeout(Duration stagingTimeout)
    • getStartupTimeout

      public Duration getStartupTimeout()
    • setStartupTimeout

      public void setStartupTimeout(Duration startupTimeout)
    • getStatusTimeout

      public long getStatusTimeout()
    • setStatusTimeout

      public void setStatusTimeout(long statusTimeout)
    • isDeleteRoutes

      public boolean isDeleteRoutes()
    • setDeleteRoutes

      public void setDeleteRoutes(boolean deleteRoutes)
    • getJavaOpts

      public String getJavaOpts()
    • setJavaOpts

      public void setJavaOpts(String javaOpts)
    • getApiPollingTimeout

      public long getApiPollingTimeout()
    • setApiPollingTimeout

      public void setApiPollingTimeout(long apiPollingTimeout)