org.camunda.bpm.cycle.roundtrip
Class SynchronizationService

java.lang.Object
  extended by org.camunda.bpm.cycle.roundtrip.SynchronizationService

@Component
public class SynchronizationService
extends Object

Service encapsulating the synchronization magic done in cycle. Works on input / output streams, not connector nodes.

Author:
nico.rehwaldt

Constructor Summary
SynchronizationService()
           
 
Method Summary
 InputStream syncLeftToRight(InputStream lhsInputStream, InputStream rhsInputStream)
          Given the streams of two bpmn 2.0 diagrams, perform the synchronization from left to right.
 InputStream syncRightToLeft(InputStream lhsInputStream, InputStream rhsInputStream)
          Given the streams of two bpmn 2.0 diagrams, perform the synchronization from right to left.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SynchronizationService

public SynchronizationService()
Method Detail

syncLeftToRight

public InputStream syncLeftToRight(InputStream lhsInputStream,
                                   InputStream rhsInputStream)
                            throws IOException
Given the streams of two bpmn 2.0 diagrams, perform the synchronization from left to right. Return an input stream to the resulting right hand side file.

Parameters:
lhsInputStream -
rhsInputStream -
Returns:
Throws:
IOException

syncRightToLeft

public InputStream syncRightToLeft(InputStream lhsInputStream,
                                   InputStream rhsInputStream)
                            throws IOException
Given the streams of two bpmn 2.0 diagrams, perform the synchronization from right to left. Return an input stream to the resulting left hand side file.

Parameters:
lhsInputStream -
rhsInputStream -
Returns:
Throws:
IOException


Copyright © 2014 camunda services GmbH. All rights reserved.