Class ActionSupport

    • Constructor Detail

      • ActionSupport

        private ActionSupport()
        Constructor.
    • Method Detail

      • buildProceedEvent

        public static void buildProceedEvent​(@Nonnull
                                             ProfileRequestContext profileRequestContext)
        Signals a successful outcome by an action.
        Parameters:
        profileRequestContext - the context to carry the event
      • buildEvent

        public static void buildEvent​(@Nonnull
                                      ProfileRequestContext profileRequestContext,
                                      @Nonnull @NotEmpty
                                      String eventId)
        Builds an event with a given ID.
        Parameters:
        profileRequestContext - the context to carry the event
        eventId - the ID of the event
      • buildEvent

        public static void buildEvent​(@Nonnull
                                      ProfileRequestContext profileRequestContext,
                                      @Nonnull
                                      Object event)
        Builds an event from the given object.
        Parameters:
        profileRequestContext - the context to carry the event
        event - the event