Package no.unit.nva.events.handlers
Class EventParser<I>
java.lang.Object
no.unit.nva.events.handlers.EventParser<I>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionEventParser(String input, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
Modifier and TypeMethodDescriptionGiven the nested parameter classes ClassA,ClassB,ClassC,...,ClassZ, this method returns the an AwsEventBridgeEvent where the detail object in of type ClassA<ClassB<ClassC<...ClassZ>>..>.
-
Field Details
-
ERROR_PARSING_INPUT
- See Also:
-
SKIP_BOTTOM_TYPE
public static final int SKIP_BOTTOM_TYPE- See Also:
-
RAWTYPES
- See Also:
-
-
Constructor Details
-
EventParser
-
-
Method Details
-
parse
-
parse
Given the nested parameter classes ClassA,ClassB,ClassC,...,ClassZ, this method returns the an AwsEventBridgeEvent where the detail object in of type ClassA<ClassB<ClassC<...ClassZ>>..>.- Parameters:
nestedParameterClasses- the classes of the nested generic type of the detail object.- Returns:
- an AwsEventBridgeEvent with a nested generic type as detail object.
-