public class ProcessDiagramGenerator extends Object
Modifier and Type | Class and Description |
---|---|
protected static interface |
ProcessDiagramGenerator.ActivityDrawInstruction |
Modifier and Type | Field and Description |
---|---|
protected static Map<String,ProcessDiagramGenerator.ActivityDrawInstruction> |
activityDrawInstructions |
Constructor and Description |
---|
ProcessDiagramGenerator() |
Modifier and Type | Method and Description |
---|---|
protected static void |
drawActivity(ProcessDiagramCanvas processDiagramCanvas,
ActivityImpl activity,
List<String> highLightedActivities) |
protected static ProcessDiagramCanvas |
generateDiagram(ProcessDefinitionEntity processDefinition,
List<String> highLightedActivities) |
static InputStream |
generateDiagram(ProcessDefinitionEntity processDefinition,
String imageType,
List<String> highLightedActivities) |
static InputStream |
generateJpgDiagram(ProcessDefinitionEntity processDefinition)
Generates a JPG diagram image of the given process definition, using the
diagram interchange information of the process.
|
static InputStream |
generatePngDiagram(ProcessDefinitionEntity processDefinition)
Generates a PNG diagram image of the given process definition, using the
diagram interchange information of the process.
|
protected static ProcessDiagramCanvas |
initProcessDiagramCanvas(ProcessDefinitionEntity processDefinition) |
protected static final Map<String,ProcessDiagramGenerator.ActivityDrawInstruction> activityDrawInstructions
public static InputStream generatePngDiagram(ProcessDefinitionEntity processDefinition)
public static InputStream generateJpgDiagram(ProcessDefinitionEntity processDefinition)
protected static ProcessDiagramCanvas generateDiagram(ProcessDefinitionEntity processDefinition, List<String> highLightedActivities)
public static InputStream generateDiagram(ProcessDefinitionEntity processDefinition, String imageType, List<String> highLightedActivities)
protected static void drawActivity(ProcessDiagramCanvas processDiagramCanvas, ActivityImpl activity, List<String> highLightedActivities)
protected static ProcessDiagramCanvas initProcessDiagramCanvas(ProcessDefinitionEntity processDefinition)
Copyright © 2018. All rights reserved.