org.hyperic.hq.autoinventory
Class Scanner
java.lang.Object
org.hyperic.hq.autoinventory.Scanner
public class Scanner
- extends Object
The Scanner class performs the actual auto-inventory system scan.
Scanner
public Scanner(ScanConfiguration scanConfig,
ScanListener listener,
AutoinventoryPluginManager apm,
org.hyperic.util.AutoApproveConfig autoApproveConfig)
- Create a new Scanner with the specified configuration.
- Parameters:
scanConfig
- The configuration to use when
scanning.listener
- The class to notify when various scan events
occur, such as scan completion.apm
- The autoinventory plugin manager.
getIsInterrupted
public boolean getIsInterrupted()
detectPlatform
public static PlatformResource detectPlatform(AutoinventoryPluginManager apm,
org.hyperic.util.config.ConfigResponse config)
throws AutoinventoryException
- Throws:
AutoinventoryException
getScanState
public ScanState getScanState()
- Get the current state of the scan. Note that the ScanState
object returned from this method may be modified after
it is returned. Callers who want to persist the state should
acquire the object's monitor (via a synchronized block)
before writing the object out.
- Returns:
- The current state of the scan.
start
public void start()
stop
public void stop()
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
Copyright © 2004-2010 Hyperic, Inc. support@hyperic.net, All Rights Reserved.