Package com.nomagic.magicdraw.cbm.xpdl
Class XPDLImportExport
- java.lang.Object
-
- com.nomagic.magicdraw.cbm.xpdl.XPDLImportExport
-
@OpenApiAll public class XPDLImportExport extends java.lang.Object
Contains utility methods for importing/exporting XPDL to/from BPMN models.
-
-
Constructor Summary
Constructors Constructor Description XPDLImportExport()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Collection<java.io.File>
exportXPDL(Project project, java.io.File directory)
Exports from BPMN model to XPDL files in a given directory.static void
importXPDL(Project project, java.io.File file)
Imports XPDL file to a given project.
-
-
-
Method Detail
-
importXPDL
public static void importXPDL(Project project, java.io.File file)
Imports XPDL file to a given project.- Parameters:
project
- project to which to import the XPDL file.file
- XPDL file to import.
-
exportXPDL
public static java.util.Collection<java.io.File> exportXPDL(Project project, java.io.File directory)
Exports from BPMN model to XPDL files in a given directory.- Parameters:
project
- project from which to export BPMN model.directory
- directory to which to export.- Returns:
- collection of result XPDL files.
-
-