org.apache.qpid.management.wsdm.capabilities
Class Result
java.lang.Object
org.apache.qpid.management.wsdm.capabilities.Result
public final class Result
- extends Object
Data Transfer Object that encapsulates the result of a method invocation.
This is the object that will be marshalled in XML and will contain the result of a method
invocation (status code & text).
Constructor Summary |
Result(Map<String,Object> outputParameters)
Builds a new result DTO with the given parameters. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Result
public Result(Map<String,Object> outputParameters)
- Builds a new result DTO with the given parameters.
- Parameters:
statusCode
- the return code.statusText
- the status message.outputParameters
- the output parameters.
getOutputParameters
public Map<String,Object> getOutputParameters()
- Returns the output parameterss.
- Returns:
- the output parameterss.
Licensed to the Apache Software Foundation