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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TwithExistingSource(UserSourceType type, String relativePath)Specifies the a existing source in the cloud storage.TwithJarFile(File jar)Specifies the jar package for the deployment.SpringAppDeployment.DefinitionStages.WithModule<T>withSourceCodeTarGzFile(File sourceCodeTarGz)Specifies the source code for the deployment.
-
-
-
Method Detail
-
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
-
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
-
withExistingSource
T 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 definition
-
-