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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.camunda.bpm.model.bpmn.BpmnModelInstance
Converts the origin object type to a target object type.convertBack
(org.camunda.bpm.model.bpmn.BpmnModelInstance target) Converts the target object type back to the origin object type.void
setPathFileOutput
(String pathFileOutput)
-
Constructor Details
-
FileToBPMNConverter
public FileToBPMNConverter()
-
-
Method Details
-
getPathFileOutput
-
setPathFileOutput
-
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 interfaceOneWayConverter<File,
org.camunda.bpm.model.bpmn.BpmnModelInstance> - Parameters:
origin
- object to be converted- Returns:
- the converted object
- Throws:
XMLtoBPMNConversionException
-
convertBack
Description copied from interface:TwoWayConverter
Converts the target object type back to the origin object type.- Specified by:
convertBack
in interfaceTwoWayConverter<File,
org.camunda.bpm.model.bpmn.BpmnModelInstance> - Parameters:
target
- object to be converted- Returns:
- a converted object
-