Class WorkflowResource

java.lang.Object
org.keycloak.workflow.admin.resource.WorkflowResource

public class WorkflowResource extends Object
  • Constructor Details

  • Method Details

    • delete

      @DELETE public void delete()
    • update

      @PUT public void update(WorkflowRepresentation rep)
      Update the workflow configuration. The method does not update the workflow steps.
    • toRepresentation

      @GET @Produces("application/json") public 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 type
      resourceId - the resource id
      notBefore - optional notBefore time in milliseconds to schedule the first workflow step, it overrides the first workflow step time configuration (after).
    • steps

      @Path("steps") public WorkflowStepsResource steps()