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()
Result
getResultTree
in interface Result
public boolean isSynchronous()
Result
isSynchronous
in interface Result
public ResultStatus getStatus()
public void setResultStatus(ResultStatus status)
setResultStatus
in interface Result
public void setResultMetadata(ResultMetadata resultMetadata)
setResultMetadata
in interface Result
public ResultMetadata getResultMetadata()
getResultMetadata
in interface Result
Copyright © 2022 Apache Software Foundation. All rights reserved.