首页 > 其他 > 详细

HMProcessDiagramGenerator 1

时间:2019-06-10 16:30:02      阅读:141      评论:0      收藏:0      [点我收藏+]

/* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.activiti.image;

import java.awt.image.BufferedImage;
import java.io.InputStream;
import java.util.List;

import org.activiti.bpmn.model.BpmnModel;

/**
* This interface declares methods to generate process diagram
*
* @author martin.grofcik
* @author Tijs Rademakers
*/
public interface HMProcessDiagramGenerator extends ProcessDiagramGenerator{

/**
* Generates a diagram of the given process definition, using the
* diagram interchange information of the process.
* @param bpmnModel bpmn model to get diagram for
* @param imageType type of the image to generate.
* @param highLightedActivities activities to highlight
* @param highLightedFlows flows to highlight
* @param activityFontName override the default activity font
* @param labelFontName override the default label font
* @param annotationFontName override the default annotation font
* @param customClassLoader provide a custom classloader for retrieving icon images
*/
public InputStream generateDiagram(BpmnModel bpmnModel, String imageType, List<String> highLightedActivities, List<String> highLightedFlows,
String activityFontName, String labelFontName, String annotationFontName, ClassLoader customClassLoader, double scaleFactor);


public InputStream generateDiagram(BpmnModel bpmnModel, String imageType, List<String> highLightedActivities, List<String> highLightedFlows,
String activityFontName, String labelFontName, String annotationFontName, ClassLoader customClassLoader, double scaleFactor,List<String> currentHighlightdActivities);

/**
* Generates a diagram of the given process definition, using the
* diagram interchange information of the process.
* @param bpmnModel bpmn model to get diagram for
* @param imageType type of the image to generate.
* @param highLightedActivities activities to highlight
* @param highLightedFlows flows to highlight
*/
public InputStream generateDiagram(BpmnModel bpmnModel, String imageType, List<String> highLightedActivities, List<String> highLightedFlows);

public InputStream generateDiagram(BpmnModel bpmnModel, String imageType, List<String> highLightedActivities,
List<String> highLightedFlows, double scaleFactor);

public InputStream generateDiagram(BpmnModel bpmnModel, String imageType, List<String> highLightedActivities);

public InputStream generateDiagram(BpmnModel bpmnModel, String imageType, List<String> highLightedActivities, double scaleFactor);

public InputStream generateDiagram(BpmnModel bpmnModel, String imageType, String activityFontName, String labelFontName, String annotationFontName, ClassLoader customClassLoader);

public InputStream generateDiagram(BpmnModel bpmnModel, String imageType, String activityFontName,
String labelFontName, String annotationFontName, ClassLoader customClassLoader, double scaleFactor);

public InputStream generatePngDiagram(BpmnModel bpmnModel);

public InputStream generatePngDiagram(BpmnModel bpmnModel, double scaleFactor);

public InputStream generateJpgDiagram(BpmnModel bpmnModel);

public InputStream generateJpgDiagram(BpmnModel bpmnModel, double scaleFactor);

public BufferedImage generatePngImage(BpmnModel bpmnModel, double scaleFactor);

}

HMProcessDiagramGenerator 1

原文:https://www.cnblogs.com/albert-think/p/10998206.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!