Class EventContext

  • All Implemented Interfaces:
    Iterable<org.opensaml.messaging.context.BaseContext>
    Direct Known Subclasses:
    PreviousEventContext

    public class EventContext
    extends org.opensaml.messaging.context.BaseContext
    A context component which holds the result of a profile action that produces an "event".

    Actions that operate on contexts and want to signal the result in the form of an "event" to a sibling or parent component can create or modify an EventContext. The context contains a generic type that represents an event of meaning to a surrounding processing model, such as a workflow.

    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.opensaml.messaging.context.BaseContext

        org.opensaml.messaging.context.BaseContext.ContextSetNoRemoveIteratorDecorator
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private Object event
      The event represented.
    • Constructor Summary

      Constructors 
      Constructor Description
      EventContext()  
    • Field Detail

      • event

        private Object event
        The event represented.
    • Constructor Detail

      • EventContext

        public EventContext()
    • Method Detail

      • getEvent

        @Nullable
        public Object getEvent()
        Get the event represented by the context.
        Returns:
        the event
      • setEvent

        @Nonnull
        public EventContext setEvent​(@Nullable
                                     Object newEvent)
        Set the event represented by the context.
        Parameters:
        newEvent - the event
        Returns:
        this context