Package org.keycloak.models.workflow
Class DefaultWorkflowProvider
java.lang.Object
org.keycloak.models.workflow.DefaultWorkflowProvider
- All Implemented Interfaces:
WorkflowProvider,Provider
-
Method Summary
Modifier and TypeMethodDescriptionvoidactivate(Workflow workflow, ResourceType type, String resourceId) voidactivateForAllEligibleResources(Workflow workflow) voidclose()voiddeactivate(Workflow workflow, String resourceId) Stream<org.keycloak.representations.workflows.WorkflowRepresentation>getScheduledWorkflowsByResource(String resourceId) getWorkflow(String id) voidmigrateScheduledResources(String stepIdFrom, String stepIdTo) voidremoveWorkflow(Workflow workflow) voidvoidsubmit(WorkflowEvent event) toModel(org.keycloak.representations.workflows.WorkflowRepresentation rep) org.keycloak.representations.workflows.WorkflowRepresentationtoRepresentation(Workflow workflow) voidupdateWorkflow(Workflow workflow, org.keycloak.representations.workflows.WorkflowRepresentation representation) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.models.workflow.WorkflowProvider
getWorkflows
-
Method Details
-
getResourceTypeSelector
- Specified by:
getResourceTypeSelectorin interfaceWorkflowProvider
-
updateWorkflow
public void updateWorkflow(Workflow workflow, org.keycloak.representations.workflows.WorkflowRepresentation representation) - Specified by:
updateWorkflowin interfaceWorkflowProvider
-
removeWorkflow
- Specified by:
removeWorkflowin interfaceWorkflowProvider
-
getWorkflow
- Specified by:
getWorkflowin interfaceWorkflowProvider
-
getWorkflows
- Specified by:
getWorkflowsin interfaceWorkflowProvider
-
getScheduledWorkflowsByResource
public Stream<org.keycloak.representations.workflows.WorkflowRepresentation> getScheduledWorkflowsByResource(String resourceId) - Specified by:
getScheduledWorkflowsByResourcein interfaceWorkflowProvider
-
submit
- Specified by:
submitin interfaceWorkflowProvider
-
runScheduledSteps
public void runScheduledSteps()- Specified by:
runScheduledStepsin interfaceWorkflowProvider
-
migrateScheduledResources
- Specified by:
migrateScheduledResourcesin interfaceWorkflowProvider
-
activate
- Specified by:
activatein interfaceWorkflowProvider
-
deactivate
- Specified by:
deactivatein interfaceWorkflowProvider
-
activateForAllEligibleResources
- Specified by:
activateForAllEligibleResourcesin interfaceWorkflowProvider
-
toRepresentation
public org.keycloak.representations.workflows.WorkflowRepresentation toRepresentation(Workflow workflow) - Specified by:
toRepresentationin interfaceWorkflowProvider
-
toModel
- Specified by:
toModelin interfaceWorkflowProvider
-
close
public void close()
-