Class DeploymentProperties

java.lang.Object
org.springframework.cloud.appbroker.deployer.DeploymentProperties
Direct Known Subclasses:
CloudFoundryDeploymentProperties

public class DeploymentProperties extends Object
  • Field Details

    • COUNT_PROPERTY_KEY

      public static final String 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

      public static final String 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

      public static final String 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

      public static final String HOST_PROPERTY_KEY
      The deployment property for the host that will be used in the app.
      See Also:
    • TARGET_PROPERTY_KEY

      public static final String 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

      public static final String 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

      public static final String 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

      public String getMemory()
    • setMemory

      public void setMemory(String memory)
    • getDisk

      public String getDisk()
    • setDisk

      public void setDisk(String disk)
    • getCount

      public Integer getCount()
    • setCount

      public void setCount(int count)
    • getHost

      public String getHost()
    • setHost

      public void setHost(String host)
    • isUseSpringApplicationJson

      public boolean isUseSpringApplicationJson()
    • setUseSpringApplicationJson

      public void setUseSpringApplicationJson(boolean useSpringApplicationJson)