public interface Client
| Modifier and Type | Method and Description |
|---|---|
Result |
getDistributions()
Gets all distributions.
|
Result |
packageContents(InputStream fileStream,
String filename,
String repository,
Integer distroVersionId)
Gets the contents of a package
|
Result |
putPackage(InputStream fileStream,
String filename,
String username,
String repository,
Integer distroVersionId,
Map<String,InputStream> sourceFiles)
Put package.
|
Result putPackage(InputStream fileStream, String filename, String username, String repository, Integer distroVersionId, Map<String,InputStream> sourceFiles) throws Exception
fileStream - the file streamfilename - the filenameusername - the usernamerepository - the repositorydistroVersionId - the distro version idsourceFiles - the source filesException - the exceptionResult getDistributions() throws Exception
Exception - the exceptionResult packageContents(InputStream fileStream, String filename, String repository, Integer distroVersionId) throws Exception
fileStream - the file streamfilename - the filenamerepository - the repositoryException - the exceptionCopyright © 2014–2018. All rights reserved.