Class WorkflowResource
java.lang.Object
org.keycloak.workflow.admin.resource.WorkflowResource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbind(ResourceType type, String resourceId, Long notBefore) Bind the workflow to the resource.voiddelete()steps()org.keycloak.representations.workflows.WorkflowRepresentationvoidupdate(org.keycloak.representations.workflows.WorkflowRepresentation rep) Update the workflow configuration.
-
Constructor Details
-
WorkflowResource
-
-
Method Details
-
delete
@DELETE public void delete() -
update
@PUT public void update(org.keycloak.representations.workflows.WorkflowRepresentation rep) Update the workflow configuration. The method does not update the workflow steps. -
toRepresentation
@GET @Produces("application/json") public org.keycloak.representations.workflows.WorkflowRepresentation toRepresentation() -
bind
@POST @Consumes("application/json") @Path("bind/{type}/{resourceId}") public void bind(@PathParam("type") ResourceType type, @PathParam("resourceId") String resourceId, Long notBefore) Bind the workflow to the resource.- Parameters:
type- the resource typeresourceId- the resource idnotBefore- optional notBefore time in milliseconds to schedule the first workflow step, it overrides the first workflow step time configuration (after).
-
steps
-