Interface WorkflowProviderEvent

All Superinterfaces:
ProviderEvent
All Known Subinterfaces:
WorkflowProviderEvent.WorkflowActivatedEvent, WorkflowProviderEvent.WorkflowCompletedEvent, WorkflowProviderEvent.WorkflowDeactivatedEvent, WorkflowProviderEvent.WorkflowResourceMigratedEvent, WorkflowProviderEvent.WorkflowRestartedEvent, WorkflowProviderEvent.WorkflowStepExecutedEvent, WorkflowProviderEvent.WorkflowStepFailedEvent, WorkflowProviderEvent.WorkflowStepScheduledEvent

public interface WorkflowProviderEvent extends ProviderEvent
Base interface for workflow-related provider events.
Author:
Stefan Guilhen
  • Method Details

    • getKeycloakSession

      KeycloakSession getKeycloakSession()
      Gets the Keycloak session associated with this event.
      Specified by:
      getKeycloakSession in interface ProviderEvent
      Returns:
      the KeycloakSession
    • getRealm

      RealmModel getRealm()
      Gets the realm where the workflow event occurred.
      Returns:
      the RealmModel
    • getWorkflowId

      String getWorkflowId()
      Gets the workflow ID.
      Returns:
      the workflow ID
    • getWorkflowName

      String getWorkflowName()
      Gets the workflow name.
      Returns:
      the workflow name
    • getResourceId

      String getResourceId()
      Gets the resource ID associated with this workflow event.
      Returns:
      the resource ID
    • getResourceType

      ResourceType getResourceType()
      Gets the resource type associated with this workflow event.
      Returns:
      the ResourceType
    • getExecutionId

      String getExecutionId()
      Gets the execution ID for this workflow activation.
      Returns:
      the execution ID