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 Summary
Modifier and TypeMethodDescriptionwithExistingSource(UserSourceType type, String relativePath) Specifies the a existing source in the cloud storage.withJarFile(File jar) Specifies the jar package for the deployment.withJarFile(File jar, List<String> configFilePatterns) (Enterprise Tier Only) Specifies the jar package for the deployment.withSourceCodeTarGzFile(File sourceCodeTarGz) Specifies the source code for the deployment.withSourceCodeTarGzFile(File sourceCodeTarGz, List<String> configFilePatterns) (Enterprise Tier Only) Specifies the source code for the deployment.
-
Method Details
-
withJarFile
Specifies the jar package for the deployment.- Parameters:
jar- the file of the jar- Returns:
- the next stage of deployment definition
-
withJarFile
(Enterprise Tier Only) Specifies the jar package for the deployment.- Parameters:
jar- the file of the jarconfigFilePatterns- 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 filesSpringApp.DefinitionStages.WithConfigurationServiceBinding), use null or empty list to clear existing configurations- Returns:
- the next stage of deployment definition
-
withSourceCodeTarGzFile
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 codeconfigFilePatterns- 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 filesSpringApp.DefinitionStages.WithConfigurationServiceBinding), use null or empty list to clear existing configurations.- Returns:
- the next stage of deployment definition
-
withExistingSource
Specifies the a existing source in the cloud storage.- Parameters:
type- the source type in previous uploadrelativePath- the relative path gotten from getResourceUploadUrl- Returns:
- the next stage of deployment definition
-