Interface SpringAppDeployment.UpdateStages.WithSource
-
- All Known Subinterfaces:
SpringAppDeployment.Update
- Enclosing interface:
- SpringAppDeployment.UpdateStages
public static interface SpringAppDeployment.UpdateStages.WithSourceThe stage of a deployment update allowing to specify the source code or package.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SpringAppDeployment.UpdatewithExistingSource(UserSourceType type, String relativePath)Specifies the a existing source in the cloud storage.SpringAppDeployment.UpdatewithJarFile(File jar)Specifies the jar package for the deployment.SpringAppDeployment.UpdateStages.WithModulewithSourceCodeTarGzFile(File sourceCodeTarGz)Specifies the source code for the deployment.
-
-
-
Method Detail
-
withJarFile
SpringAppDeployment.Update withJarFile(File jar)
Specifies the jar package for the deployment.- Parameters:
jar- the file of the jar- Returns:
- the next stage of deployment update
-
withSourceCodeTarGzFile
SpringAppDeployment.UpdateStages.WithModule 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 update
-
withExistingSource
SpringAppDeployment.Update withExistingSource(UserSourceType type, String relativePath)
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 update
-
-