@Component public class PackageIndexDownloader extends Object implements org.springframework.context.ResourceLoaderAware
Constructor and Description |
---|
PackageIndexDownloader(SkipperServerProperties skipperServerProperties) |
Modifier and Type | Method and Description |
---|---|
String |
computeFilename(org.springframework.core.io.Resource resource) |
void |
downloadPackageIndexes() |
List<File> |
getIndexFiles() |
void |
setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader) |
@Autowired public PackageIndexDownloader(SkipperServerProperties skipperServerProperties)
public void downloadPackageIndexes()
public String computeFilename(org.springframework.core.io.Resource resource) throws IOException
IOException
public void setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
setResourceLoader
in interface org.springframework.context.ResourceLoaderAware
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.