Interface WorkflowStepProvider

All Superinterfaces:
Provider
All Known Implementing Classes:
AddRequiredActionStepProvider, DeleteUserStepProvider, DisableUserStepProvider, GrantRoleStepProvider, NotifyUserStepProvider, RestartWorkflowStepProvider, RevokeRoleStepProvider, RoleBasedStepProvider, SetUserAttributeStepProvider

public interface WorkflowStepProvider extends Provider
  • Method Summary

    Modifier and Type
    Method
    Description
    default String
    Returns the message or the text that should be used as the body of the email when notifying the user about this step.
    default String
    Returns the message or the text that should be used as the subject of the email when notifying the user about this step.
    void
    Run this workflow step.

    Methods inherited from interface org.keycloak.provider.Provider

    close
  • Method Details

    • run

      void run(WorkflowExecutionContext context)
      Run this workflow step.
      Parameters:
      context - the workflow execution context
    • getNotificationSubject

      default String 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 null if the default subject should be used
    • getNotificationMessage

      default String 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 null if the default subject should be used