Interface Change

  • All Known Subinterfaces:
    MacroChange

    @OpenApi
    public interface Change
    Change denotes the change of the project. Change contains difference with additional information: Dependent changes, required changes, State of change (accepted/rejected), Conflicting changes (for 3 way merge).
    • Method Detail

      • getDifference

        @OpenApi
        Difference getDifference()
        Returns the difference that caused current change.
        Returns:
        difference that caused current change.
      • getState

        @OpenApi
        ChangeState getState()
        Returns the change application state.
        Returns:
        change application state.
      • getConflicts

        @OpenApi
        java.util.Collection<? extends RelatedChange> getConflicts()
        Returns the current change conflicting changes.
        Returns:
        conflicting changes
      • getEquivalents

        @OpenApi
        java.util.Collection<? extends RelatedChange> getEquivalents()
        Returns the current change equivalent changes.
        Returns:
        equivalent changes.
      • getDependent

        @OpenApi
        java.util.Collection<? extends RelatedChange> getDependent()
        Returns the current change dependent changes - changes that requires current change.
        Returns:
        dependent changes.
      • getRequired

        @OpenApi
        java.util.Collection<? extends RelatedChange> getRequired()
        Returns the current change required changes.
        Returns:
        required changes.
      • accept

        void accept​(com.nomagic.magicdraw.merge.ChangeVisitor visitor)
        Accept change visitor.
        Parameters:
        visitor - visitor.