org.apache.qpid.management.wsdm.capabilities
Class Result

java.lang.Object
  extended by 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.
 
Method Summary
 Map<String,Object> getOutputParameters()
          Returns the output parameterss.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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.
Method Detail

getOutputParameters

public Map<String,Object> getOutputParameters()
Returns the output parameterss.

Returns:
the output parameterss.


Licensed to the Apache Software Foundation