public class NumericResult extends Object implements EventResult<Integer,EventContext>
Constructor and Description |
---|
NumericResult(EventContext context) |
NumericResult(int count,
EventContext context) |
Modifier and Type | Method and Description |
---|---|
EventContext |
getContext()
Specifies the context to the event.
|
Integer |
getResponse()
Returns the response returned from the event.
|
public NumericResult(EventContext context)
public NumericResult(int count, EventContext context)
public EventContext getContext()
EventResult
getContext
in interface EventResult<Integer,EventContext>
public Integer getResponse()
Returns the response returned from the event.
getResponse
in interface EventResult<Integer,EventContext>
Copyright © 2018 WSO2. All rights reserved.