public class DefaultAutoOperateAnnotatedElement extends Object implements AutoOperateAnnotatedElement
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 invoked data.
AutoOperateAnnotatedElementResolver,
AutoOperateEMPTY| 构造器和说明 |
|---|
DefaultAutoOperateAnnotatedElement() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
execute(Object data)
Execute the operation of data from the annotated element.
|
static DefaultAutoOperateAnnotatedElement |
forDynamicTypeOperation(AutoOperate annotation,
AnnotatedElement element,
MethodInvoker extractor,
Predicate<? super KeyTriggerOperation> filter,
BeanOperationExecutor executor,
Function<Object,BeanOperations> parser) |
static DefaultAutoOperateAnnotatedElement |
forStaticTypeOperation(AutoOperate annotation,
AnnotatedElement element,
MethodInvoker extractor,
Predicate<? super KeyTriggerOperation> filter,
BeanOperations operations,
BeanOperationExecutor executor) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAnnotation, getBeanOperations, getElementpublic static DefaultAutoOperateAnnotatedElement forStaticTypeOperation(AutoOperate annotation, AnnotatedElement element, MethodInvoker extractor, Predicate<? super KeyTriggerOperation> filter, BeanOperations operations, BeanOperationExecutor executor)
public static DefaultAutoOperateAnnotatedElement forDynamicTypeOperation(AutoOperate annotation, AnnotatedElement element, MethodInvoker extractor, Predicate<? super KeyTriggerOperation> filter, BeanOperationExecutor executor, Function<Object,BeanOperations> parser)
public void execute(Object data)
execute 在接口中 AutoOperateAnnotatedElementdata - dataCopyright © 2024. All rights reserved.