public interface ResourceManagementService
Modifier and Type | Method and Description |
---|---|
void |
deployPackage(File packageFile)
Deploys the contents of the package file to the server.
|
void |
deployPackage(String packageName,
InputStream packageContent)
Deploys the contents of the stream to the server as a package with the specified name.
|
void deployPackage(File packageFile) throws UcmdbException, IOException
packageFile
- the name of the ZIP file containing the package.IOException
- A problem was encountered reading the file.UcmdbException
void deployPackage(String packageName, InputStream packageContent) throws UcmdbException, IOException
packageName
- The name of the package without the ".zip" extension.packageContent
- The zip stream to read the package from.IOException
- a problem was encountered reading the stream.UcmdbException
Documentation Feedback
Copyright 2011 - 2018 Micro Focus or one of its affiliates.