Package com.hp.ucmdb.api.resources
Interface ResourceManagementService
public interface ResourceManagementService
Services for managing definitions of TQLs, views, users and other resources.
- Since:
- 8.0
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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.deployPackageWithStatus
(String packageName, InputStream packageContent)
-
Method Details
-
deployPackage
Deploys the contents of the package file to the server.- Parameters:
packageFile
- the name of the ZIP file containing the package.- Throws:
IOException
- A problem was encountered reading the file.UcmdbException
-
deployPackage
void deployPackage(String packageName, InputStream packageContent) throws UcmdbException, IOException Deploys the contents of the stream to the server as a package with the specified name. The contents are in the format of a package: A zip file of resources.- Parameters:
packageName
- The name of the package without the ".zip" extension.packageContent
- The zip stream to read the package from.- Throws:
IOException
- a problem was encountered reading the stream.UcmdbException
-
deployPackageWithStatus
PackageOperationStatus deployPackageWithStatus(String packageName, InputStream packageContent) throws UcmdbException, IOException - Throws:
UcmdbException
IOException
-