Interface Operation

All Known Subinterfaces:
JmxOperation, WebOperation
All Known Implementing Classes:
AbstractDiscoveredOperation

public interface Operation
An operation on an endpoint.
Since:
2.0.0
Author:
Andy Wilkinson, Phillip Webb
  • Method Details

    • getType

      OperationType getType()
      Returns the type of the operation.
      Returns:
      the type
    • invoke

      Object invoke(InvocationContext context)
      Invoke the underlying operation using the given context.
      Parameters:
      context - the context in to use when invoking the operation
      Returns:
      the result of the operation, may be null