Hyperic HQ Plugin API v. 4.4.0.2

org.hyperic.hq.autoinventory
Interface ScanListener

All Known Implementing Classes:
AutoinventoryCommandsServer, PluginDiscoverer, ScanManager

public interface ScanListener

An interface that lets you listen in on various events that occur during an autoinventory scan.


Method Summary
 void scanComplete(ScanState state)
          The scanner calls this method when the scan has completed.
 

Method Detail

scanComplete

void scanComplete(ScanState state)
                  throws AutoinventoryException,
                         SystemException
The scanner calls this method when the scan has completed. This method is called whenever the scan completes, for ANY reason (including partial errors and fatal errors). It is the responsbility of the class that implements this interface to investigate the Scanner's ScanState object to determine how the scan completed and take the appropriate course of action.

Parameters:
state - The final state of the scan. This object is provided for convenience, as the class implementing this interface will likely already have a way to get to it.
Throws:
AutoinventoryException
SystemException

Hyperic HQ Plugin API v. 4.4.0.2

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