Class XPDLImportExport


  • @OpenApiAll
    public class XPDLImportExport
    extends java.lang.Object
    Contains utility methods for importing/exporting XPDL to/from BPMN models.
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • XPDLImportExport

        public XPDLImportExport()
    • 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.