Klasse AbstractTaskWiring<T extends Connectable,A extends Annotation,M extends MethodParameterFactory>
java.lang.Object
io.vanillabp.springboot.adapter.wiring.AbstractTaskWiring<T,A,M>
- Bekannte direkte Unterklassen:
TaskWiringBase
public abstract class AbstractTaskWiring<T extends Connectable,A extends Annotation,M extends MethodParameterFactory>
extends Object
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected final org.springframework.context.ApplicationContextprotected final M -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungAbstractTaskWiring(org.springframework.context.ApplicationContext applicationContext, M methodParameterFactory) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungdetermineAndValidateWorkflowAggregateAndServiceClass(String bpmnProcessId) protected Class<?>determineBeanClass(Object bean) protected booleanisAboutConnectableProcess(String bpmnProcessId, Object bean) protected booleanisPrimaryProcessWiring(String workflowModuleId, String bpmnProcessId, Class<?> workflowServiceClass) protected booleanmethodMatchesElementId(T connectable, Method method, A annotation) protected booleanmethodMatchesTaskDefinition(T connectable, Method method, A annotation) protected MethodParametervalidateMultiInstanceElement(Method method, Parameter parameter, int index) protected MethodParametervalidateMultiInstanceIndex(Method method, Parameter parameter, int index) protected MethodParametervalidateMultiInstanceTotal(Method method, Parameter parameter, int index) protected List<MethodParameter>validateParameters(Method method, TriFunction<Method, Parameter, Integer, MethodParameter>... map) protected MethodParametervalidateTaskParam(Method method, Parameter parameter, int index) protected MethodParametervalidateWorkflowAggregateParameter(Class<?> workflowAggregateClass, Method method, Parameter parameter, int index) protected booleanwireTask(T connectable, boolean allowNoMethodFound, BiFunction<Method, A, Boolean> methodMatchesTaskDefinition, BiFunction<Method, A, Boolean> methodMatchesElementId, BiFunction<Method, A, List<MethodParameter>> validateParameters, ConnectBean connect)
-
Felddetails
-
applicationContext
protected final org.springframework.context.ApplicationContext applicationContext -
methodParameterFactory
-
-
Konstruktordetails
-
AbstractTaskWiring
public AbstractTaskWiring(org.springframework.context.ApplicationContext applicationContext, M methodParameterFactory)
-
-
Methodendetails
-
getAnnotationType
-
methodMatchesTaskDefinition
-
wireTask
protected boolean wireTask(T connectable, boolean allowNoMethodFound, BiFunction<Method, A, Boolean> methodMatchesTaskDefinition, BiFunction<Method, A, Boolean> methodMatchesElementId, BiFunction<Method, A, List<MethodParameter>> validateParameters, ConnectBean connect) -
isAboutConnectableProcess
-
determineBeanClass
-
methodMatchesElementId
-
validateParameters
protected List<MethodParameter> validateParameters(Method method, TriFunction<Method, Parameter, Integer, MethodParameter>... map) -
validateWorkflowAggregateParameter
protected MethodParameter validateWorkflowAggregateParameter(Class<?> workflowAggregateClass, Method method, Parameter parameter, int index) -
validateTaskParam
-
validateMultiInstanceTotal
-
validateMultiInstanceIndex
-
validateMultiInstanceElement
protected MethodParameter validateMultiInstanceElement(Method method, Parameter parameter, int index) -
determineAndValidateWorkflowAggregateAndServiceClass
-
determineWorkflowAggregateClass
-
isPrimaryProcessWiring
-