| 限定符和类型 | 方法和说明 |
|---|---|
default void |
SmartOperationAwareBean.afterOperationsCompletion(BeanOperations operations)
Do something after all operations completed.
|
default void |
SmartOperationAwareBean.beforeAssembleOperation(BeanOperations operations)
Do something before the assembly operations begin.
|
| 限定符和类型 | 方法和说明 |
|---|---|
BeanOperations |
AssembleExecution.getBeanOperations()
Get the operation configuration corresponding to the operation object.
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
AbstractBeanOperationExecutor.beforeDisassembleOperation(Collection<?> targets,
BeanOperations operations,
BeanOperationExecutor.Options options)
Do something before the disassemble operations begin.
|
static AssembleExecution |
AssembleExecution.create(BeanOperations beanOperations,
AssembleOperation operation,
Container<?> container,
Collection<Object> targets)
Create an instance of
AssembleExecution. |
protected AssembleExecution |
AbstractBeanOperationExecutor.createAssembleExecution(BeanOperations beanOperations,
AssembleOperation operation,
Collection<Object> targets,
BeanOperationExecutor.Options options)
Create a
AssembleExecution. |
protected @NonNull List<AssembleExecution> |
AbstractBeanOperationExecutor.doCombineExecutions(BeanOperationExecutor.Options options,
Predicate<? super KeyTriggerOperation> filter,
BeanOperations beanOperations,
Collection<Object> targets)
|
default void |
BeanOperationExecutor.execute(Collection<?> targets,
BeanOperations operations)
Complete operations on all objects in
targets according to the specified BeanOperations |
void |
AbstractBeanOperationExecutor.execute(Collection<?> targets,
BeanOperations operations,
BeanOperationExecutor.Options options)
Complete operations on all objects in
targets according to the specified BeanOperations and Options. |
void |
BeanOperationExecutor.execute(Collection<?> targets,
BeanOperations operations,
BeanOperationExecutor.Options options)
Complete operations on all objects in
targets according to the specified BeanOperations and BeanOperationExecutor.Options. |
default void |
BeanOperationExecutor.execute(Collection<?> targets,
BeanOperations operations,
Predicate<? super KeyTriggerOperation> filter)
Complete operations on all objects in
targets according to the specified BeanOperations |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
AbstractBeanOperationExecutor.afterOperationsCompletion(MultiMap<BeanOperations,Object> targetWithOperations)
Do something after all operations completed.
|
protected void |
AbstractOperationAwareBeanOperationExecutor.afterOperationsCompletion(MultiMap<BeanOperations,Object> targetWithOperations)
Trigger the
OperationAwareBean.afterOperationsCompletion() method of the target object. |
protected void |
AbstractBeanOperationExecutor.beforeAssembleOperation(MultiMap<BeanOperations,Object> targetWithOperations)
Do something before the assembly operation begin.
|
protected void |
AbstractOperationAwareBeanOperationExecutor.beforeAssembleOperation(MultiMap<BeanOperations,Object> targetWithOperations)
Do something before the assembly operation begin.
|
| 限定符和类型 | 类和说明 |
|---|---|
static class |
BeanOperations.EmptyBeanOperations
Empty bean operations.
|
class |
SimpleBeanOperations
Simple implementation of
BeanOperations. |
| 限定符和类型 | 字段和说明 |
|---|---|
protected Map<AnnotatedElement,BeanOperations> |
TypeHierarchyBeanOperationParser.currentlyInParsing
temp cache for operations of element that currently in parsing
|
protected Map<AnnotatedElement,BeanOperations> |
TypeHierarchyBeanOperationParser.resolvedElements
cache for operations of a resolved element.
|
protected Map<AnnotatedElement,BeanOperations> |
TypeHierarchyBeanOperationParser.resolvedHierarchyElements
temp cache for operations of a resolved element where in type hierarchy.
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected BeanOperations |
TypeHierarchyBeanOperationParser.createBeanOperations(AnnotatedElement element,
boolean root)
Create
BeanOperations instance. |
protected BeanOperations |
ConditionalTypeHierarchyBeanOperationParser.doResolveToOperations(AnnotatedElement source)
Parse
BeanOperations from source if necessary. |
protected BeanOperations |
TypeHierarchyBeanOperationParser.doResolveToOperations(AnnotatedElement source) |
static BeanOperations |
BeanOperations.empty()
Get an empty bean operations.
|
BeanOperations |
BeanOperationParser.parse(AnnotatedElement element)
Parse the
AnnotatedElement annotation information,
and generate the corresponding BeanOperations instance. |
@NonNull BeanOperations |
TypeHierarchyBeanOperationParser.parse(AnnotatedElement element)
Parse the class and class attribute information,
and generate the corresponding
BeanOperations instance. |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
TypeHierarchyBeanOperationParser.mergeBeanOperationsToRootBeanOperations(BeanOperations root,
Collection<BeanOperations> childOperations)
Merge each child
BeanOperations to root BeanOperations. |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
TypeHierarchyBeanOperationParser.mergeBeanOperationsToRootBeanOperations(BeanOperations root,
Collection<BeanOperations> childOperations)
Merge each child
BeanOperations to root BeanOperations. |
| 限定符和类型 | 方法和说明 |
|---|---|
protected @Nullable AssembleOperation |
AbstractStandardAssembleAnnotationHandler.createOperation(BeanOperationParser parser,
BeanOperations beanOperations,
AbstractStandardOperationAnnotationHandler.StandardAnnotation<A> standardAnnotation)
Create assemble operation for given
element and annotation |
protected KeyTriggerOperation |
AbstractStandardOperationAnnotationHandler.createOperation(BeanOperationParser parser,
BeanOperations beanOperations,
AbstractStandardOperationAnnotationHandler.StandardAnnotation<A> standardAnnotation)
Create assemble operation for given
element and annotation |
protected @Nullable DisassembleOperation |
DisassembleAnnotationHandler.createOperation(BeanOperationParser parser,
BeanOperations beanOperations,
AbstractStandardOperationAnnotationHandler.StandardAnnotation<Disassemble> standardAnnotation)
Create assemble operation for given
element and annotation |
protected void |
AbstractStandardAssembleAnnotationHandler.doResolve(BeanOperations beanOperations,
List<KeyTriggerOperation> operations)
Do resolve for operations.
|
protected abstract void |
AbstractStandardOperationAnnotationHandler.doResolve(BeanOperations beanOperations,
List<KeyTriggerOperation> operations)
Do resolve for operations.
|
protected void |
DisassembleAnnotationHandler.doResolve(BeanOperations beanOperations,
List<KeyTriggerOperation> operations)
Do resolve for operations.
|
protected abstract AbstractStandardAssembleAnnotationHandler.StandardAssembleAnnotation<A> |
AbstractStandardAssembleAnnotationHandler.getStandardAnnotation(BeanOperations beanOperations,
AnnotatedElement element,
A annotation)
|
protected abstract AbstractStandardOperationAnnotationHandler.StandardAnnotation<A> |
AbstractStandardOperationAnnotationHandler.getStandardAnnotation(BeanOperations beanOperations,
AnnotatedElement element,
A annotation)
|
protected AbstractStandardAssembleAnnotationHandler.StandardAssembleAnnotation<Assemble> |
AssembleAnnotationHandler.getStandardAnnotation(BeanOperations beanOperations,
AnnotatedElement element,
Assemble annotation)
Get
StandardAssembleAnnotation. |
protected AbstractStandardAssembleAnnotationHandler.StandardAssembleAnnotation<AssembleConstant> |
AssembleConstantAnnotationHandler.getStandardAnnotation(BeanOperations beanOperations,
AnnotatedElement element,
AssembleConstant annotation)
Get
StandardAssembleAnnotation. |
protected AbstractStandardAssembleAnnotationHandler.StandardAssembleAnnotation<AssembleEnum> |
AssembleEnumAnnotationHandler.getStandardAnnotation(BeanOperations beanOperations,
AnnotatedElement element,
AssembleEnum annotation)
Get
StandardAssembleAnnotation. |
protected AbstractStandardAssembleAnnotationHandler.StandardAssembleAnnotation<AssembleKey> |
AssembleKeyAnnotationHandler.getStandardAnnotation(BeanOperations beanOperations,
AnnotatedElement element,
AssembleKey annotation)
Get
StandardAssembleAnnotation. |
protected AbstractStandardAssembleAnnotationHandler.StandardAssembleAnnotation<AssembleMethod> |
AssembleMethodAnnotationHandler.getStandardAnnotation(BeanOperations beanOperations,
AnnotatedElement element,
AssembleMethod annotation)
Get
StandardAssembleAnnotation. |
protected AbstractStandardOperationAnnotationHandler.StandardAnnotation<Disassemble> |
DisassembleAnnotationHandler.getStandardAnnotation(BeanOperations beanOperations,
AnnotatedElement element,
Disassemble annotation)
Get
StandardAnnotation. |
void |
AbstractStandardOperationAnnotationHandler.resolve(BeanOperationParser parser,
BeanOperations beanOperations)
Resolve operations from element.
|
void |
OperationAnnotationHandler.resolve(BeanOperationParser parser,
BeanOperations beanOperations)
Resolve operations from element.
|
| 限定符和类型 | 方法和说明 |
|---|---|
@NonNull BeanOperations |
DisassembleOperation.getInternalBeanOperations(Object internalBean)
Get the operation configuration of the nested object.
|
@NonNull BeanOperations |
TypeDynamitedDisassembleOperation.getInternalBeanOperations(Object internalBean)
Get the operation configuration of the nested object,
and use
TypeDynamitedDisassembleOperation.typeResolver to dynamically infer the type. |
@NonNull BeanOperations |
TypeFixedDisassembleOperation.getInternalBeanOperations(Object internalBean)
Get the operation configuration of nested object.
|
| 限定符和类型 | 方法和说明 |
|---|---|
BeanOperations |
Crane4jTemplate.getBeanOperations(@NonNull AnnotatedElement element)
Get the bean operations from the element.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Crane4jTemplate.execute(Collection<?> targets,
BeanOperations beanOperations)
Execute the fill operation.
|
void |
OperateTemplate.execute(Object target,
BeanOperations beanOperations)
Execute the fill operation.
|
void |
OperateTemplate.execute(Object target,
BeanOperations beanOperations,
Predicate<? super KeyTriggerOperation> filter)
Execute the fill operation.
|
| 限定符和类型 | 方法和说明 |
|---|---|
@Nullable BeanOperations |
AutoOperateAnnotatedElement.getBeanOperations()
Get the
BeanOperations for the annotated element. |
| 限定符和类型 | 方法和说明 |
|---|---|
static DefaultAutoOperateAnnotatedElement |
DefaultAutoOperateAnnotatedElement.forStaticTypeOperation(AutoOperate annotation,
AnnotatedElement element,
MethodInvoker extractor,
Predicate<? super KeyTriggerOperation> filter,
BeanOperations operations,
BeanOperationExecutor executor) |
| 限定符和类型 | 方法和说明 |
|---|---|
static DefaultAutoOperateAnnotatedElement |
DefaultAutoOperateAnnotatedElement.forDynamicTypeOperation(AutoOperate annotation,
AnnotatedElement element,
MethodInvoker extractor,
Predicate<? super KeyTriggerOperation> filter,
BeanOperationExecutor executor,
Function<Object,BeanOperations> parser) |
| 限定符和类型 | 方法和说明 |
|---|---|
@Nullable MethodInvoker |
ArgAutoOperateProxyMethodFactory.get(BeanOperations beanOperations,
Method method,
BeanOperationExecutor beanOperationExecutor)
Get operator proxy method.
|
@Nullable MethodInvoker |
DynamicContainerOperatorProxyMethodFactory.get(BeanOperations beanOperations,
Method method,
BeanOperationExecutor beanOperationExecutor)
Get operator proxy method.
|
@Nullable MethodInvoker |
OperationAnnotationProxyMethodFactory.get(BeanOperations beanOperations,
Method method,
BeanOperationExecutor beanOperationExecutor)
Get operator proxy method.
|
@Nullable MethodInvoker |
OperatorProxyMethodFactory.get(BeanOperations beanOperations,
Method method,
BeanOperationExecutor beanOperationExecutor)
Get operator proxy method.
|
@Nullable MethodInvoker |
ParametersFillProxyMethodFactory.get(BeanOperations beanOperations,
Method method,
BeanOperationExecutor beanOperationExecutor)
Get operator proxy method.
|
Copyright © 2024. All rights reserved.