Constructor and Description |
---|
StandardOperation(String name,
OperationRequest request,
OperationResponse response,
Map<String,Object> attributes)
Creates a new
StandardOperation |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAttributes()
Returns a
Map of attributes associated with the operation. |
String |
getName()
Returns the name of the operation.
|
OperationRequest |
getRequest()
Returns the request that was sent.
|
OperationResponse |
getResponse()
Returns the response that was received.
|
public StandardOperation(String name, OperationRequest request, OperationResponse response, Map<String,Object> attributes)
StandardOperation
name
- the name of the operationrequest
- the request that was sentresponse
- the response that was receivedattributes
- attributes to associate with the operationpublic Map<String,Object> getAttributes()
Operation
Map
of attributes associated with the operation.getAttributes
in interface Operation
public String getName()
Operation
public OperationRequest getRequest()
Operation
getRequest
in interface Operation
public OperationResponse getResponse()
Operation
getResponse
in interface Operation