Package org.activiti.image
Interface ProcessDiagramGenerator
- All Known Implementing Classes:
DefaultProcessDiagramGenerator
public interface ProcessDiagramGenerator
This interface declares methods to generate process diagram
-
Method Summary
Modifier and TypeMethodDescriptiongenerateDiagram(org.activiti.bpmn.model.BpmnModel bpmnModel, String activityFontName, String labelFontName, String annotationFontName) Generates a diagram of the given process definition, using the diagram interchange information of the process.generateDiagram(org.activiti.bpmn.model.BpmnModel bpmnModel, List<String> highLightedActivities) Generates a diagram of the given process definition, using the diagram interchange information of the process.generateDiagram(org.activiti.bpmn.model.BpmnModel bpmnModel, List<String> highLightedActivities, List<String> highLightedFlows) Generates a diagram of the given process definition, using the diagram interchange information of the process.generateDiagram(org.activiti.bpmn.model.BpmnModel bpmnModel, List<String> highLightedActivities, List<String> highLightedFlows, String activityFontName, String labelFontName, String annotationFontName) Generates a diagram of the given process definition, using the diagram interchange information of the process.generateDiagram(org.activiti.bpmn.model.BpmnModel bpmnModel, List<String> highLightedActivities, List<String> highLightedFlows, String activityFontName, String labelFontName, String annotationFontName, boolean generateDefaultDiagram) Generates a diagram of the given process definition, using the diagram interchange information of the process, or the default diagram image, if generateDefaultDiagram param is true.generateDiagram(org.activiti.bpmn.model.BpmnModel bpmnModel, List<String> highLightedActivities, List<String> highLightedFlows, List<String> currentActivities, List<String> erroredActivities, String activityFontName, String labelFontName, String annotationFontName, boolean generateDefaultDiagram, String defaultDiagramImageFileName) Generates a diagram of the given process definition, using the diagram interchange information of the process, or the default diagram image, if generateDefaultDiagram param is true.
-
Method Details
-
generateDiagram
InputStream generateDiagram(org.activiti.bpmn.model.BpmnModel bpmnModel, List<String> highLightedActivities, List<String> highLightedFlows, String activityFontName, String labelFontName, String annotationFontName) Generates a diagram of the given process definition, using the diagram interchange information of the process. If there is no interchange information available, an ActivitiInterchangeInfoNotFoundException is thrown.- Parameters:
bpmnModel- bpmn model to get diagram forhighLightedActivities- activities to highlighthighLightedFlows- flows to highlightactivityFontName- override the default activity fontlabelFontName- override the default label font
-
generateDiagram
InputStream generateDiagram(org.activiti.bpmn.model.BpmnModel bpmnModel, List<String> highLightedActivities, List<String> highLightedFlows, String activityFontName, String labelFontName, String annotationFontName, boolean generateDefaultDiagram) Generates a diagram of the given process definition, using the diagram interchange information of the process, or the default diagram image, if generateDefaultDiagram param is true.- Parameters:
bpmnModel- bpmn model to get diagram forhighLightedActivities- activities to highlighthighLightedFlows- flows to highlightactivityFontName- override the default activity fontlabelFontName- override the default label fontgenerateDefaultDiagram- true if a default diagram should be generated if there is no graphic info available
-
generateDiagram
InputStream generateDiagram(org.activiti.bpmn.model.BpmnModel bpmnModel, List<String> highLightedActivities, List<String> highLightedFlows, List<String> currentActivities, List<String> erroredActivities, String activityFontName, String labelFontName, String annotationFontName, boolean generateDefaultDiagram, String defaultDiagramImageFileName) Generates a diagram of the given process definition, using the diagram interchange information of the process, or the default diagram image, if generateDefaultDiagram param is true.- Parameters:
bpmnModel- bpmn model to get diagram forhighLightedActivities- activities to highlighthighLightedFlows- flows to highlightcurrentActivities- current activities to highlighterroredActivities- errored activities to highlightactivityFontName- override the default activity fontlabelFontName- override the default label fontgenerateDefaultDiagram- true if a default diagram should be generated if there is no graphic info availabledefaultDiagramImageFileName- override the default diagram image file name
-
generateDiagram
InputStream generateDiagram(org.activiti.bpmn.model.BpmnModel bpmnModel, List<String> highLightedActivities, List<String> highLightedFlows) Generates a diagram of the given process definition, using the diagram interchange information of the process. If there is no interchange information available, an ActivitiInterchangeInfoNotFoundException is thrown.- Parameters:
bpmnModel- bpmn model to get diagram forhighLightedActivities- activities to highlighthighLightedFlows- flows to highlight
-
generateDiagram
InputStream generateDiagram(org.activiti.bpmn.model.BpmnModel bpmnModel, List<String> highLightedActivities) Generates a diagram of the given process definition, using the diagram interchange information of the process. If there is no interchange information available, an ActivitiInterchangeInfoNotFoundException is thrown.- Parameters:
bpmnModel- bpmn model to get diagram forhighLightedActivities- activities to highlight
-
generateDiagram
InputStream generateDiagram(org.activiti.bpmn.model.BpmnModel bpmnModel, String activityFontName, String labelFontName, String annotationFontName) Generates a diagram of the given process definition, using the diagram interchange information of the process. If there is no interchange information available, an ActivitiInterchangeInfoNotFoundException is thrown.- Parameters:
bpmnModel- bpmn model to get diagram for
-
getDefaultActivityFontName
String getDefaultActivityFontName() -
getDefaultLabelFontName
String getDefaultLabelFontName() -
getDefaultAnnotationFontName
String getDefaultAnnotationFontName() -
getDefaultDiagramImageFileName
String getDefaultDiagramImageFileName()
-