Class ChangePartnershipToUpstreamDownstreamRefactoring

java.lang.Object
org.contextmapper.dsl.refactoring.AbstractRefactoring
org.contextmapper.dsl.refactoring.ChangePartnershipToUpstreamDownstreamRefactoring
All Implemented Interfaces:
SemanticCMLRefactoring

public class ChangePartnershipToUpstreamDownstreamRefactoring extends AbstractRefactoring implements SemanticCMLRefactoring
Removes a Partnership relationship between two Bounded Contexts and creates an Upstream-Downstream relationship instead.
  • Field Details

    • upstreamContext

      protected String upstreamContext
    • downstreamContext

      protected String downstreamContext
  • Constructor Details

    • ChangePartnershipToUpstreamDownstreamRefactoring

      public ChangePartnershipToUpstreamDownstreamRefactoring(String upstreamContext, String downstreamContext)
      Pass the two Bounded Context names within the Partnership relationship. The first partner (first parameter) will become upstream.
  • Method Details