Interface SpringAppDeployment.DefinitionStages.WithSource<T>

    • 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 upload
        relativePath - the relative path gotten from getResourceUploadUrl
        Returns:
        the next stage of deployment definition