|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hyperic.hq.autoinventory.scanimpl.ScanMethodBase
public abstract class ScanMethodBase
Field Summary | |
---|---|
protected int |
_authorityLevel
|
protected ConfigResponse |
_config
|
protected Scanner |
_scanner
|
protected ScanState |
_state
|
Constructor Summary | |
---|---|
ScanMethodBase()
|
Method Summary | |
---|---|
int |
getAuthorityLevel()
Get the authority level of this ScanMethod. |
ConfigResponse |
getConfig()
Get the current configuration, if one has been set. |
ConfigSchema |
getConfigSchema()
returned by the getConfigOptCores method. |
protected abstract ConfigOption[] |
getOptionsArray()
Subclasses implement this method to return the array of ConfigOptions supported by the scan method. |
void |
init(Scanner scanner,
ConfigResponse config)
Initialize this scan method. |
void |
setAuthorityLevel(int level)
Set the authority level of this ScanMethod. |
void |
setScanner(Scanner scanner)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.hyperic.hq.autoinventory.ScanMethod |
---|
getDescription, getDisplayName, getName, scan |
Field Detail |
---|
protected ConfigResponse _config
protected int _authorityLevel
protected ScanState _state
protected Scanner _scanner
Constructor Detail |
---|
public ScanMethodBase()
Method Detail |
---|
public int getAuthorityLevel()
ScanMethod
getAuthorityLevel
in interface ScanMethod
public void setAuthorityLevel(int level)
ScanMethod
setAuthorityLevel
in interface ScanMethod
level
- The authority level to use for this scan method.public void init(Scanner scanner, ConfigResponse config) throws AutoinventoryException
ScanMethod
init
in interface ScanMethod
scanner
- The Scanner that will be running the show.config
- The configuration information for this scan method.
AutoinventoryException
public void setScanner(Scanner scanner)
public ConfigSchema getConfigSchema() throws AutoinventoryException
getConfigSchema
in interface ScanMethod
AutoinventoryException
- If there is an error generating
the configuration option list.public ConfigResponse getConfig()
getConfig
in interface ScanMethod
protected abstract ConfigOption[] getOptionsArray()
|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |