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
Constructors Constructor Description FileToBPMNConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.camunda.bpm.model.bpmn.BpmnModelInstanceconvert(File origin)Converts the origin object type to a target object type.FileconvertBack(org.camunda.bpm.model.bpmn.BpmnModelInstance target)Converts the target object type back to the origin object type.StringgetPathFileOutput()voidsetPathFileOutput(String pathFileOutput)
-
-
-
Method Detail
-
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:OneWayConverterConverts the origin object type to a target object type.- Specified by:
convertin interfaceOneWayConverter<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:TwoWayConverterConverts the target object type back to the origin object type.- Specified by:
convertBackin interfaceTwoWayConverter<File,org.camunda.bpm.model.bpmn.BpmnModelInstance>- Parameters:
target- object to be converted- Returns:
- a converted object
-
-