1
2
|
部署:
repositoryService.createDeployment().addClasspathResource(
"diagrams/test/project2.bpmn"
).deploy();
|
删除:
1
2
|
String kk = repositoryService.createProcessDefinitionQuery().processDefinitionKey(
"project"
).list().get(
0
).getDeploymentId()
repositoryService.deleteDeployment( kk ,
true
);
|
本文转自yunlielai51CTO博客,原文链接:http://blog.51cto.com/4925054/1431572
,如需转载请自行联系原作者