Class ProducibleOperationArgumentResolver

java.lang.Object
org.springframework.boot.actuate.endpoint.ProducibleOperationArgumentResolver
All Implemented Interfaces:
OperationArgumentResolver

public class ProducibleOperationArgumentResolver extends Object implements OperationArgumentResolver
Since:
2.5.0
Author:
Andy Wilkinson, Phillip Webb
  • Constructor Details

  • Method Details

    • canResolve

      public boolean canResolve(Class<?> type)
      Description copied from interface: OperationArgumentResolver
      Return whether an argument of the given type can be resolved.
      Specified by:
      canResolve in interface OperationArgumentResolver
      Parameters:
      type - argument type
      Returns:
      true if an argument of the required type can be resolved, otherwise false
    • resolve

      public <T> T resolve(Class<T> type)
      Description copied from interface: OperationArgumentResolver
      Resolves an argument of the given type.
      Specified by:
      resolve in interface OperationArgumentResolver
      Type Parameters:
      T - required type of the argument
      Parameters:
      type - argument type
      Returns:
      an argument of the required type, or null