|
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.ScanConfigurationCore
public class ScanConfigurationCore
This class just encapsulates the "raw data" part of the scan configuration, without any utility methods or other flim-flam. It exists to make it easy to move scan configurations across SOAP and other network transports.
Constructor Summary | |
---|---|
ScanConfigurationCore()
|
Method Summary | |
---|---|
void |
addScanMethodConfig(ScanMethod method,
ConfigResponse configResponse)
|
static ScanConfigurationCore |
decode(java.lang.String data)
|
static ScanConfigurationCore |
deserialize(byte[] data)
|
java.lang.String |
encode()
|
boolean |
equals(java.lang.Object o)
|
ScanMethodConfig |
findScanMethodConfig(ScanMethod method)
|
ScanMethodConfig |
findScanMethodConfig(java.lang.String methodClass)
|
static ScanConfigurationCore |
fromAgentRemoteValue(java.lang.String keyName,
AgentRemoteValue arv)
Read the contents of an AgentRemoteValue object and create a scan configuration. |
ConfigResponse |
getConfigResponse()
|
ScanMethodConfig[] |
getScanMethodConfigs()
Get the scan method configs to use in this scan. |
ServerSignature[] |
getServerSignatures()
Get the server signatures to scan for in this scan. |
byte[] |
serialize()
|
void |
setConfigResponse(ConfigResponse configResponse)
|
void |
setScanMethodConfigs(ScanMethodConfig[] configs)
Set the scan method configs to use in this scan. |
void |
setServerSignatures(ScanMethodConfig[] configs)
Set the scan method configurations for this scan. |
void |
setServerSignatures(ServerSignature[] serverSigs)
Set the server signatures to scan for in this scan. |
void |
toAgentRemoteValue(java.lang.String keyName,
AgentRemoteValue arv)
Write the contents of this scan configuration to an AgentRemoteValue object. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ScanConfigurationCore()
Method Detail |
---|
public ScanMethodConfig[] getScanMethodConfigs()
public void setScanMethodConfigs(ScanMethodConfig[] configs)
configs
- An array of ScanMethodConfig objects.public void addScanMethodConfig(ScanMethod method, ConfigResponse configResponse)
public void setServerSignatures(ScanMethodConfig[] configs)
serverTypes
- An array of ScanMethodConfig objects.public ServerSignature[] getServerSignatures()
public void setServerSignatures(ServerSignature[] serverSigs)
serverTypes
- An array of ServerSignature objects indicating
which server types to scan for.public ScanMethodConfig findScanMethodConfig(ScanMethod method)
public ScanMethodConfig findScanMethodConfig(java.lang.String methodClass)
public byte[] serialize() throws AutoinventoryException
AutoinventoryException
public java.lang.String encode() throws AutoinventoryException
AutoinventoryException
public static ScanConfigurationCore deserialize(byte[] data) throws AutoinventoryException
AutoinventoryException
public static ScanConfigurationCore decode(java.lang.String data) throws AutoinventoryException
AutoinventoryException
public void toAgentRemoteValue(java.lang.String keyName, AgentRemoteValue arv) throws AutoinventoryException
keyName
- The key name to use when populating the
AgentRemoteValue with data.arv
- The AgentRemoteValue to write.
AutoinventoryException
- If a problem occurs populating
the AgentRemoteValue with data.public static ScanConfigurationCore fromAgentRemoteValue(java.lang.String keyName, AgentRemoteValue arv) throws AutoinventoryException
keyName
- The key name to use when reading data from the
AgentRemoteValue.arv
- The AgentRemoteValue to read.
AutoinventoryException
- If a problem occurs reading
data from the AgentRemoteValue.public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public ConfigResponse getConfigResponse()
public void setConfigResponse(ConfigResponse configResponse)
|
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 |