Class ProfileInterceptorContext

  • All Implemented Interfaces:
    Iterable<org.opensaml.messaging.context.BaseContext>

    public final class ProfileInterceptorContext
    extends org.opensaml.messaging.context.BaseContext
    A BaseContext which holds flows that are available to be executed, the last flow attempted, and any flow result.
    • Constructor Detail

      • ProfileInterceptorContext

        public ProfileInterceptorContext()
        Constructor.
    • Method Detail

      • getAttemptedFlow

        @Nullable
        public ProfileInterceptorFlowDescriptor getAttemptedFlow()
        Get the last flow that was attempted.
        Returns:
        last flow that was attempted
      • setAttemptedFlow

        public void setAttemptedFlow​(@Nullable
                                     ProfileInterceptorFlowDescriptor flow)
        Set the last flow that was attempted.
        Parameters:
        flow - last flow that was attempted
      • getAvailableFlows

        @Nonnull
        @NonnullElements
        @Live
        public Map<String,​ProfileInterceptorFlowDescriptor> getAvailableFlows()
        Get the flows that are available to be executed.
        Returns:
        the available flows
      • getResults

        @Nonnull
        @NonnullElements
        @Live
        public List<ProfileInterceptorResult> getResults()
        Get the results of the flow to be written to storage.
        Returns:
        the results of the flow to be written to storage