Package de.quantummaid.eventmaid.useCases.building
-
Interface Summary Interface Description BuilderStepBuilder CallingBuilder<U> This interface defines how a use case should be invoked.ExceptionSerializationStep1Builder ExceptionSerializationStep2Builder<T> Based on the conditions defined in the previousExceptionSerializationStep1Builder, this step defines how to map the matching exception to aMap.FinalStepBuilder The last step in configuring the TheUseCaseInvocationBuilderstep.InjectionStepBuilder TheUseCaseInvocationBuilderstep for configuring injected parameters.InstantiationBuilder Defines how a instance for a use case should be instantiated, whenever a request was received.InvokingUseCaseStepBuilder Configures theUseCaseInvocationBuilderwith a new use case invocation definition of the givenClass.RequestDeserializationStep1Builder RequestDeserializationStep2Builder<T> Based on the conditions defined in the previousRequestDeserializationStep1Builder, this step defines how to map the matching object from aMapto the given type.RequestSerializationStep1Builder RequestSerializationStep2Builder<T> Based on the conditions defined in the previousRequestSerializationStep1Builder, this step defines how to map the matching from object into aMap.ResponseDeserializationStep1Builder ResponseDeserializationStep2Builder<T> Based on the conditions defined in the previousRequestDeserializationStep1Builder, this step defines how to map the matching object from aMapto the given type.ResponseSerializationStep1Builder ResponseSerializationStep2Builder<T> Based on the conditions defined in the previousResponseSerializationStep1Builder, this step defines how to map the matching from object into aMap.Step1Builder This step allows to add a new use case invocation definition withInvokingUseCaseStepBuilder.invokingUseCase(Class)or do not add further definitions and continue with the methods ofInstantiationBuilder.Step2Builder<U> This builder step defines, for whichEventTypethe use case class configured in the previousInvokingUseCaseStepBuilder.invokingUseCase(Class)method should be invoked.Step3Builder<U> Defines how the currently configured use case should be invoked. -
Exception Summary Exception Description MissingExceptionSerializationException AnExceptionindicating, that no serialization rule for an exception thrown by a use case could be applied.MissingRequestDeserializationException ThisExceptionis thrown if no deserialization for an object could be applied.MissingRequestSerializationException AnExceptionindicating, that no serialization rule could be applied.MissingResponseDeserializationException ThisExceptionis thrown if no deserialization for an object could be applied.MissingResponseSerializationException AnExceptionindicating, that no serialization rule for a use case's response could be applied.