org.hyperic.hq.autoinventory
Class ScanStateCore
java.lang.Object
org.hyperic.hq.autoinventory.ScanStateCore
- All Implemented Interfaces:
- java.io.Serializable
public class ScanStateCore
- extends java.lang.Object
- implements java.io.Serializable
This class just encapsulates the "raw data" part of the scan
state, without any utility methods or other flim-flam. It exists
to make it easy to move scan states across SOAP and other network
transports.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ScanStateCore
public ScanStateCore()
getScanMethodStates
public ScanMethodState[] getScanMethodStates()
setScanMethodStates
public void setScanMethodStates(ScanMethodState[] scanMethodStates)
getStartTime
public long getStartTime()
setStartTime
public void setStartTime(long _startTime)
getEndTime
public long getEndTime()
setEndTime
public void setEndTime(long _endTime)
getGlobalException
public StringifiedException getGlobalException()
setGlobalException
public void setGlobalException(StringifiedException _globalException)
getAreServersIncluded
public boolean getAreServersIncluded()
- Returns:
- true if this scan includes server information, false otherwise.
setAreServersIncluded
public void setAreServersIncluded(boolean b)
getIsDone
public boolean getIsDone()
setIsDone
public void setIsDone(boolean b)
getIsInterrupted
public boolean getIsInterrupted()
setIsInterrupted
public void setIsInterrupted(boolean b)
getPlatform
public AIPlatformValue getPlatform()
setPlatform
public void setPlatform(AIPlatformValue platform)
getIps
public AIIpValue[] getIps()
setIps
public void setIps(AIIpValue[] ips)
getCertDN
public java.lang.String getCertDN()
setCertDN
public void setCertDN(java.lang.String certDN)
toAgentRemoteValue
public void toAgentRemoteValue(java.lang.String keyName,
AgentRemoteValue arv)
throws AutoinventoryException
- Write the contents of this scan state to
an AgentRemoteValue object.
- Parameters:
keyName
- The key name to use when populating the
AgentRemoteValue with data.arv
- The AgentRemoteValue to write.
- Throws:
AutoinventoryException
- If a problem occurs populating
the AgentRemoteValue with data.
fromAgentRemoteValue
public static ScanStateCore fromAgentRemoteValue(java.lang.String keyName,
AgentRemoteValue arv)
throws AutoinventoryException
- Read the contents of an AgentRemoteValue object and
create a scan state.
- Parameters:
keyName
- The key name to use when reading data from the
AgentRemoteValue.arv
- The AgentRemoteValue to read.
- Returns:
- A ScanState object read from the AgentRemoteValue.
- Throws:
AutoinventoryException
- If a problem occurs reading
data from the AgentRemoteValue.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.