java.lang.Object
org.springframework.boot.actuate.endpoint.invoke.reflect.OperationMethod
Direct Known Subclasses:
DiscoveredOperationMethod

public class OperationMethod extends Object
Information describing an operation method on an endpoint method.
Since:
2.0.0
Author:
Phillip Webb
See Also:
  • Constructor Details

    • OperationMethod

      public OperationMethod(Method method, OperationType operationType)
      Create a new OperationMethod instance.
      Parameters:
      method - the source method
      operationType - the operation type
  • Method Details

    • getMethod

      public Method getMethod()
      Return the source Java method.
      Returns:
      the method
    • getOperationType

      public OperationType getOperationType()
      Return the operation type.
      Returns:
      the operation type
    • getParameters

      public OperationParameters getParameters()
      Return the operation parameters.
      Returns:
      the operation parameters
    • toString

      public String toString()
      Overrides:
      toString in class Object