public class AutoOperateAnnotatedElement extends Object
An object that holds the AutoOperate annotation and the annotated element,
used complete the operation of data from the annotated element
for BeanOperations by BeanOperationExecutor.
If cannot determine the BeanOperations for the annotated element,
we can make beanOperations is null, in this case, the parser must not be null.
When execute the execute(Object) method,
the parser will be used to get actual BeanOperations for the invoke data.
AutoOperateAnnotatedElementResolver,
AutoOperate| 构造器和说明 |
|---|
AutoOperateAnnotatedElement() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
execute(Object data) |
static AutoOperateAnnotatedElement |
forDynamicTypeOperation(AutoOperate annotation,
AnnotatedElement element,
MethodInvoker extractor,
Predicate<? super KeyTriggerOperation> filter,
BeanOperationExecutor executor,
Function<Object,BeanOperations> parser) |
static AutoOperateAnnotatedElement |
forStaticTypeOperation(AutoOperate annotation,
AnnotatedElement element,
MethodInvoker extractor,
Predicate<? super KeyTriggerOperation> filter,
BeanOperations operations,
BeanOperationExecutor executor) |
public static AutoOperateAnnotatedElement forStaticTypeOperation(AutoOperate annotation, AnnotatedElement element, MethodInvoker extractor, Predicate<? super KeyTriggerOperation> filter, BeanOperations operations, BeanOperationExecutor executor)
public static AutoOperateAnnotatedElement forDynamicTypeOperation(AutoOperate annotation, AnnotatedElement element, MethodInvoker extractor, Predicate<? super KeyTriggerOperation> filter, BeanOperationExecutor executor, Function<Object,BeanOperations> parser)
public void execute(Object data)
Copyright © 2023. All rights reserved.