Interface Operation
- All Known Subinterfaces:
JmxOperation
,WebOperation
- All Known Implementing Classes:
AbstractDiscoveredOperation
public interface Operation
An operation on anendpoint
.- Since:
- 2.0.0
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OperationType
getType()
Returns thetype
of the operation.Object
invoke(InvocationContext context)
Invoke the underlying operation using the givencontext
.
Method Detail
getType
OperationType getType()
Returns thetype
of the operation.- Returns:
- the type
invoke
Object invoke(InvocationContext context)
Invoke the underlying operation using the givencontext
.- Parameters:
context
- the context in to use when invoking the operation- Returns:
- the result of the operation, may be
null