| Constructor and Description |
|---|
ResultImpl(boolean synchronous)
Constructor.
|
ResultImpl(ResultStatus status)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ResultMetadata |
getResultMetadata() |
TreeNode<Resource> |
getResultTree()
Obtain the results of the request invocation as a Tree structure.
|
ResultStatus |
getStatus() |
boolean |
isSynchronous()
Determine whether the request was handled synchronously.
|
void |
setResultMetadata(ResultMetadata resultMetadata) |
void |
setResultStatus(ResultStatus status) |
public ResultImpl(boolean synchronous)
synchronous - true if request was handled synchronously, false otherwisepublic ResultImpl(ResultStatus status)
status - result statuspublic TreeNode<Resource> getResultTree()
ResultgetResultTree in interface Resultpublic boolean isSynchronous()
ResultisSynchronous in interface Resultpublic ResultStatus getStatus()
public void setResultStatus(ResultStatus status)
setResultStatus in interface Resultpublic void setResultMetadata(ResultMetadata resultMetadata)
setResultMetadata in interface Resultpublic ResultMetadata getResultMetadata()
getResultMetadata in interface ResultCopyright © 2022 Apache Software Foundation. All rights reserved.