Package com.nomagic.magicdraw.merge
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Collection<? extends RelatedChange>
getConflicts()
Returns the current change conflicting changes.java.util.Collection<? extends RelatedChange>
getDependent()
Returns the current change dependent changes - changes that requires current change.Difference
getDifference()
Returns the difference that caused current change.java.util.Collection<? extends RelatedChange>
getEquivalents()
Returns the current change equivalent changes.java.util.Collection<? extends RelatedChange>
getRequired()
Returns the current change required changes.ChangeState
getState()
Returns the change application state.
-
-
-
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.
-
-