Interface SpringAppDeployment.DefinitionStages.WithSource<T>

All Known Subinterfaces:
SpringAppDeployment.Definition<ParentT,T>, SpringAppDeployment.DefinitionStages.Blank<T>
Enclosing interface:
SpringAppDeployment.DefinitionStages

public static interface SpringAppDeployment.DefinitionStages.WithSource<T>
The stage of a deployment definition allowing to specify the source code or package.
  • Method Details

    • withJarFile

      T withJarFile(File jar)
      Specifies the jar package for the deployment.
      Parameters:
      jar - the file of the jar
      Returns:
      the next stage of deployment definition
    • withJarFile

      T withJarFile(File jar, List<String> configFilePatterns)
      (Enterprise Tier Only) Specifies the jar package for the deployment.
      Parameters:
      jar - the file of the jar
      configFilePatterns - config file patterns to decide which patterns of Application Configuration Service will be used (App has to have a binding to the Configuration Service first in order to read the config files SpringApp.DefinitionStages.WithConfigurationServiceBinding), use null or empty list to clear existing configurations
      Returns:
      the next stage of deployment definition
    • withSourceCodeTarGzFile

      SpringAppDeployment.DefinitionStages.WithModule<T> withSourceCodeTarGzFile(File sourceCodeTarGz)
      Specifies the source code for the deployment.
      Parameters:
      sourceCodeTarGz - a tar.gz file of the source code
      Returns:
      the next stage of deployment definition
    • withSourceCodeTarGzFile

      SpringAppDeployment.DefinitionStages.WithModule<T> withSourceCodeTarGzFile(File sourceCodeTarGz, List<String> configFilePatterns)
      (Enterprise Tier Only) Specifies the source code for the deployment.
      Parameters:
      sourceCodeTarGz - a tar.gz file of the source code
      configFilePatterns - config file patterns to decide which patterns of Application Configuration Service will be used (App has to have a binding to the Configuration Service first in order to read the config files SpringApp.DefinitionStages.WithConfigurationServiceBinding), use null or empty list to clear existing configurations.
      Returns:
      the next stage of deployment definition
    • withExistingSource

      T withExistingSource(UserSourceType type, String relativePath)
      Specifies the a existing source in the cloud storage.
      Parameters:
      type - the source type in previous upload
      relativePath - the relative path gotten from getResourceUploadUrl
      Returns:
      the next stage of deployment definition