Package org.activiti.image
Interface ProcessDiagramGenerator
-
- All Known Implementing Classes:
DefaultProcessDiagramGenerator
public interface ProcessDiagramGeneratorThis interface declares methods to generate process diagram
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InputStreamgenerateDiagram(BpmnModel bpmnModel, String activityFontName, String labelFontName, String annotationFontName)Generates a diagram of the given process definition, using the diagram interchange information of the process.InputStreamgenerateDiagram(BpmnModel bpmnModel, List<String> highLightedActivities)Generates a diagram of the given process definition, using the diagram interchange information of the process.InputStreamgenerateDiagram(BpmnModel bpmnModel, List<String> highLightedActivities, List<String> highLightedFlows)Generates a diagram of the given process definition, using the diagram interchange information of the process.InputStreamgenerateDiagram(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.InputStreamgenerateDiagram(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.InputStreamgenerateDiagram(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.StringgetDefaultActivityFontName()StringgetDefaultAnnotationFontName()StringgetDefaultDiagramImageFileName()StringgetDefaultLabelFontName()
-
-
-
Method Detail
-
generateDiagram
InputStream generateDiagram(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(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(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(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(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(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()
-
-