Hyperic HQ Plugin API v. 5.8.0

org.hyperic.hq.product
Class PluginUpdater

java.lang.Object
  extended by org.hyperic.hq.product.PluginUpdater

public class PluginUpdater
extends Object

Updates a ProductPlugin on server and agent side with data needed to deal with new or updated ServiceTypes


Constructor Summary
PluginUpdater()
           
 
Method Summary
 void updateServiceTypes(ProductPlugin productPlugin, Set<ServiceType> serviceTypes)
          Updates the specified ProductPlugin with the new or changed service types.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginUpdater

public PluginUpdater()
Method Detail

updateServiceTypes

public void updateServiceTypes(ProductPlugin productPlugin,
                               Set<ServiceType> serviceTypes)
                        throws PluginException
Updates the specified ProductPlugin with the new or changed service types. Will completely wipe out old data related to existing ServiceTypes in order to apply possible updates.

Parameters:
productPlugin - The ProductPlugin to update
serviceTypes - The service types to update
Throws:
PluginException

Hyperic HQ Plugin API v. 5.8.0

Copyright © 2004-2010 Hyperic, Inc. support@hyperic.net, All Rights Reserved.