public class CollectionResult
extends java.lang.Object
Constructor and Description |
---|
CollectionResult() |
CollectionResult(DeviceCredential dc) |
Modifier and Type | Method and Description |
---|---|
void |
clean() |
java.util.List<CommandResult> |
getCommandResult() |
DeviceCredential |
getCredential() |
java.lang.String |
getDevice() |
java.lang.String |
getErrorMessage() |
java.lang.String |
getOSType() |
java.lang.String |
getParsedResult(java.lang.String profileName) |
org.w3c.dom.Element |
getResultElement(java.lang.String profileName) |
CommandResult |
getResultForProfile(java.lang.String profileName) |
java.util.List<CommandResult> |
getResultForProfileStartsWith(java.lang.String profileName) |
boolean |
isConnectionOK() |
void |
setCommandResult(java.util.List<CommandResult> commandResult) |
void |
setConnectionOK(boolean isConnectionOK) |
void |
setCredential(DeviceCredential credential) |
void |
setDevice(java.lang.String device) |
void |
setErrorMessage(java.lang.String errorMessage) |
void |
setOSType(java.lang.String osType) |
public CollectionResult()
public CollectionResult(DeviceCredential dc)
public CommandResult getResultForProfile(java.lang.String profileName)
public java.util.List<CommandResult> getResultForProfileStartsWith(java.lang.String profileName)
public java.lang.String getParsedResult(java.lang.String profileName)
public org.w3c.dom.Element getResultElement(java.lang.String profileName)
public java.lang.String getDevice()
public java.util.List<CommandResult> getCommandResult()
public boolean isConnectionOK()
public java.lang.String getErrorMessage()
public void setDevice(java.lang.String device)
device
- the device to setpublic void setCommandResult(java.util.List<CommandResult> commandResult)
commandResult
- the commandResult to setpublic void setConnectionOK(boolean isConnectionOK)
isConnectionOK
- the isConnectionOK to setpublic void setErrorMessage(java.lang.String errorMessage)
errorMessage
- the errorMessage to setpublic DeviceCredential getCredential()
public java.lang.String getOSType()
public void setCredential(DeviceCredential credential)
credential
- the credential to setpublic void setOSType(java.lang.String osType)
osType
- the osType to setpublic void clean()