Package org.opensaml.profile.action
Class ActionSupport
- java.lang.Object
-
- org.opensaml.profile.action.ActionSupport
-
public final class ActionSupport extends Object
Helper class forProfileActionoperations.
-
-
Constructor Summary
Constructors Modifier Constructor Description privateActionSupport()Constructor.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidbuildEvent(ProfileRequestContext profileRequestContext, Object event)Builds an event from the given object.static voidbuildEvent(ProfileRequestContext profileRequestContext, String eventId)Builds an event with a given ID.static voidbuildProceedEvent(ProfileRequestContext profileRequestContext)Signals a successful outcome by an action.
-
-
-
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 eventeventId- 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 eventevent- the event
-
-