Class ProcessEngineMvcEndpoint

java.lang.Object
com.flowable.spring.boot.actuate.endpoint.ProcessEngineMvcEndpoint

@EndpointWebExtension(endpoint=ProcessEngineEndpoint.class)
public class ProcessEngineMvcEndpoint
extends java.lang.Object
Renders a valid running BPMN process definition as a BPMN diagram. This is duplicated functionality in the full REST API implementation.
Author:
Joram Barrez, Josh Long
  • Constructor Summary

    Constructors 
    Constructor Description
    ProcessEngineMvcEndpoint​(org.flowable.engine.RepositoryService repositoryService)  
  • Method Summary

    Modifier and Type Method Description
    org.springframework.http.ResponseEntity<org.springframework.core.io.Resource> processDefinitionDiagram​(java.lang.String processDefinitionKey)
    Look up the process definition by key.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ProcessEngineMvcEndpoint

      public ProcessEngineMvcEndpoint​(org.flowable.engine.RepositoryService repositoryService)
  • Method Details

    • processDefinitionDiagram

      @GetMapping(value="/processes/{processDefinitionKey:.*}", produces="image/jpeg") @ResponseBody public org.springframework.http.ResponseEntity<org.springframework.core.io.Resource> processDefinitionDiagram​(@PathVariable java.lang.String processDefinitionKey)
      Look up the process definition by key. For example, this is process-diagram for a process definition named fulfillmentProcess.