Class FileToBPMNConverter

java.lang.Object
de.uni_trier.wi2.procake.utils.conversion.bpmn.FileToBPMNConverter
All Implemented Interfaces:
OneWayConverter<File,org.camunda.bpm.model.bpmn.BpmnModelInstance>, TwoWayConverter<File,org.camunda.bpm.model.bpmn.BpmnModelInstance>

public class FileToBPMNConverter extends Object implements TwoWayConverter<File,org.camunda.bpm.model.bpmn.BpmnModelInstance>
  • Constructor Details

    • FileToBPMNConverter

      public FileToBPMNConverter()
  • Method Details

    • getPathFileOutput

      public String getPathFileOutput()
    • setPathFileOutput

      public void setPathFileOutput(String pathFileOutput)
    • convert

      public org.camunda.bpm.model.bpmn.BpmnModelInstance convert(File origin) throws XMLtoBPMNConversionException
      Description copied from interface: OneWayConverter
      Converts the origin object type to a target object type.
      Specified by:
      convert in interface OneWayConverter<File,org.camunda.bpm.model.bpmn.BpmnModelInstance>
      Parameters:
      origin - object to be converted
      Returns:
      the converted object
      Throws:
      XMLtoBPMNConversionException
    • convertBack

      public File convertBack(org.camunda.bpm.model.bpmn.BpmnModelInstance target)
      Description copied from interface: TwoWayConverter
      Converts the target object type back to the origin object type.
      Specified by:
      convertBack in interface TwoWayConverter<File,org.camunda.bpm.model.bpmn.BpmnModelInstance>
      Parameters:
      target - object to be converted
      Returns:
      a converted object