码迷,mamicode.com
首页 > 其他好文 > 详细

1231

时间:2015-12-30 19:43:05      阅读:160      评论:0      收藏:0      [点我收藏+]

标签:

    public void deleteDeploy() {
        engine.getRepositoryService().deleteDeployment("17501", true);
    }
1         InputStream bpmnStream = this.getClass().getClassLoader().getResourceAsStream("diagrams/vacateFlow.bpmn");
2         InputStream pngStream = this.getClass().getClassLoader().getResourceAsStream("diagrams/vacateFlow.png");
3         RepositoryService service = engine.getRepositoryService();
4         Deployment deployment = service.createDeployment().addInputStream("vacateFlow.bpmn", bpmnStream)
5                 .addInputStream("vacateFlow.png", pngStream).name("请假流程表").category("请假").deploy();

 

1231

标签:

原文地址:http://www.cnblogs.com/mangomit/p/5089734.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!