Package org.keycloak.models.workflow
Interface WorkflowStepProvider
- All Superinterfaces:
Provider
- All Known Implementing Classes:
AddRequiredActionStepProvider,DeleteUserStepProvider,DisableUserStepProvider,GrantRoleStepProvider,NotifyUserStepProvider,RestartWorkflowStepProvider,RevokeRoleStepProvider,RoleBasedStepProvider,SetUserAttributeStepProvider
-
Method Summary
Modifier and TypeMethodDescriptiondefault StringReturns the message or the text that should be used as the body of the email when notifying the user about this step.default StringReturns the message or the text that should be used as the subject of the email when notifying the user about this step.voidrun(WorkflowExecutionContext context) Run this workflow step.
-
Method Details
-
run
Run this workflow step.- Parameters:
context- the workflow execution context
-
getNotificationSubject
Returns the message or the text that should be used as the subject of the email when notifying the user about this step.- Returns:
- the notification subject, or
nullif the default subject should be used
-
getNotificationMessage
Returns the message or the text that should be used as the body of the email when notifying the user about this step.- Returns:
- the notification body, or
nullif the default subject should be used
-