Class ProcessEngineMvcEndpoint
- java.lang.Object
-
- org.flowable.spring.boot.actuate.endpoint.ProcessEngineMvcEndpoint
-
@EndpointWebExtension(endpoint=ProcessEngineEndpoint.class) public class ProcessEngineMvcEndpoint extends 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(RepositoryService repositoryService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.ResponseEntityprocessDefinitionDiagram(String processDefinitionKey)Look up the process definition by key.
-
-
-
Constructor Detail
-
ProcessEngineMvcEndpoint
public ProcessEngineMvcEndpoint(RepositoryService repositoryService)
-
-
Method Detail
-
processDefinitionDiagram
@GetMapping(value="/processes/{processDefinitionKey:.*}", produces="image/jpeg") @ResponseBody public org.springframework.http.ResponseEntity processDefinitionDiagram(@PathVariable String processDefinitionKey)Look up the process definition by key. For example, this is process-diagram for a process definition namedfulfillmentProcess.
-
-