public class PackageService extends Object implements ResourceLoaderAware
Constructor and Description |
---|
PackageService(RepositoryRepository repositoryRepository,
PackageMetadataRepository packageMetadataRepository,
org.springframework.cloud.skipper.io.PackageReader packageReader) |
Modifier and Type | Method and Description |
---|---|
void |
delete(org.springframework.cloud.skipper.domain.PackageMetadata packageMetadata) |
org.springframework.cloud.skipper.domain.Package |
downloadPackage(org.springframework.cloud.skipper.domain.PackageMetadata packageMetadata) |
void |
setResourceLoader(ResourceLoader resourceLoader) |
org.springframework.cloud.skipper.domain.PackageMetadata |
upload(org.springframework.cloud.skipper.domain.UploadRequest uploadRequest) |
public PackageService(RepositoryRepository repositoryRepository, PackageMetadataRepository packageMetadataRepository, org.springframework.cloud.skipper.io.PackageReader packageReader)
@Transactional public org.springframework.cloud.skipper.domain.Package downloadPackage(org.springframework.cloud.skipper.domain.PackageMetadata packageMetadata)
@Transactional public void delete(org.springframework.cloud.skipper.domain.PackageMetadata packageMetadata)
@Transactional public org.springframework.cloud.skipper.domain.PackageMetadata upload(org.springframework.cloud.skipper.domain.UploadRequest uploadRequest)
public void setResourceLoader(ResourceLoader resourceLoader)
setResourceLoader
in interface ResourceLoaderAware
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.