LiveDataResult (Hyperic HQ Plugin API)
Keywords: org.hyperic.hq.livedata.shared.LiveDataResult class

Overview | Package | Class | Tree | Deprecated | Index | Help
| 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

## org.hyperic.hq.livedata.shared
Class LiveDataResult

    java.lang.Object
      org.hyperic.hq.livedata.shared.LiveDataResult

All Implemented Interfaces:
  java.io.Serializable

    public class LiveDataResult

extends java.lang.Object
implements java.io.Serializable

Result object from live data commands.

See Also:
  Serialized Form

Constructor Summary
`LiveDataResult(AppdefEntityID id, java.lang.String xml)`
`LiveDataResult(AppdefEntityID id, java.lang.Throwable t, java.lang.String errorMsg)`

Method Summary
`AppdefEntityID` | `getAppdefEntityID()` Get the appdef entity id for this result
`java.lang.Throwable` | `getCause()` Get the error (if it exists) for this command.
`java.lang.String` | `getErrorMessage()` Get the error string for this result.
`java.lang.Object` | `getObjectResult()` Get the Object result for this request.
`java.lang.String` | `getXMLResult()` Get the raw XML result for this request.
`boolean` | `hasError()` True if an error occured collecting the live data

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### LiveDataResult

    public LiveDataResult(AppdefEntityID id,
                          java.lang.String xml)

### LiveDataResult

    public LiveDataResult(AppdefEntityID id,
                          java.lang.Throwable t,
                          java.lang.String errorMsg)

Method Detail

### getAppdefEntityID

    public AppdefEntityID getAppdefEntityID()

  Get the appdef entity id for this result

### getXMLResult

    public java.lang.String getXMLResult()

  Get the raw XML result for this request.

### getObjectResult

    public java.lang.Object getObjectResult()

  Get the Object result for this request.

### getCause

    public java.lang.Throwable getCause()

  Get the error (if it exists) for this command. Not always guaranteed to be non-null if hasError() is true.

### getErrorMessage

    public java.lang.String getErrorMessage()

  Get the error string for this result.

### hasError

    public boolean hasError()

  True if an error occured collecting the live data

Overview | Package | Class | Tree | Deprecated | Index | Help
| 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

Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.