|
Hyperic HQ Plugin API v. 5.8.1 | |||||||||
| 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 org.hyperic.util.AutoApproveConfig |
_autoApproveConfig
|
protected org.hyperic.util.config.ConfigResponse |
_config
|
protected Scanner |
_scanner
|
protected ScanState |
_state
|
| Constructor Summary | |
|---|---|
ScanMethodBase()
|
|
| Method Summary | |
|---|---|
int |
getAuthorityLevel()
Get the authority level of this ScanMethod. |
org.hyperic.util.config.ConfigResponse |
getConfig()
Get the current configuration, if one has been set. |
org.hyperic.util.config.ConfigSchema |
getConfigSchema()
returned by the getConfigOptCores method. |
protected abstract org.hyperic.util.config.ConfigOption[] |
getOptionsArray()
Subclasses implement this method to return the array of ConfigOptions supported by the scan method. |
void |
init(Scanner scanner,
org.hyperic.util.config.ConfigResponse config,
org.hyperic.util.AutoApproveConfig autoApproveConfig)
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 org.hyperic.util.config.ConfigResponse _config
protected int _authorityLevel
protected ScanState _state
protected Scanner _scanner
protected org.hyperic.util.AutoApproveConfig _autoApproveConfig
| Constructor Detail |
|---|
public ScanMethodBase()
| Method Detail |
|---|
public int getAuthorityLevel()
ScanMethod
getAuthorityLevel in interface ScanMethodpublic void setAuthorityLevel(int level)
ScanMethod
setAuthorityLevel in interface ScanMethodlevel - The authority level to use for this scan method.
public void init(Scanner scanner,
org.hyperic.util.config.ConfigResponse config,
org.hyperic.util.AutoApproveConfig autoApproveConfig)
throws AutoinventoryException
ScanMethod
init in interface ScanMethodscanner - The Scanner that will be running the show.config - The configuration information for this scan method.autoApproveConfig - The auto-approval configuration instance.
AutoinventoryExceptionpublic void setScanner(Scanner scanner)
public org.hyperic.util.config.ConfigSchema getConfigSchema()
throws AutoinventoryException
getConfigSchema in interface ScanMethodAutoinventoryException - If there is an error generating
the configuration option list.public org.hyperic.util.config.ConfigResponse getConfig()
getConfig in interface ScanMethodprotected abstract org.hyperic.util.config.ConfigOption[] getOptionsArray()
|
Hyperic HQ Plugin API v. 5.8.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||