类 OperationMethod
- java.lang.Object
- org.springframework.boot.actuate.endpoint.invoke.reflect.OperationMethod
- 直接已知子类:
DiscoveredOperationMethod
public class OperationMethod extends Object
Information describing an operation method on an endpoint method.- 从以下版本开始:
- 2.0.0
- 另请参阅:
ReflectiveOperationInvoker
构造器概要
构造器 构造器 说明 OperationMethod(Method method, OperationType operationType)
Create a newOperationMethod
instance.
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 Method
getMethod()
Return the source Java method.OperationType
getOperationType()
Return the operation type.OperationParameters
getParameters()
Return the operation parameters.String
toString()
构造器详细资料
OperationMethod
public OperationMethod(Method method, OperationType operationType)
Create a newOperationMethod
instance.- 参数:
method
- the source methodoperationType
- the operation type
方法详细资料
getOperationType
public OperationType getOperationType()
Return the operation type.- 返回:
- the operation type
getParameters
public OperationParameters getParameters()
Return the operation parameters.- 返回:
- the operation parameters