Package org.projectnessie.model
Interface MergeResponse
-
@Immutable public interface MergeResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classMergeResponse.ContentKeyConflictstatic interfaceMergeResponse.ContentKeyDetails
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description java.lang.StringgetCommonAncestor()Commit-ID of the identified common ancestor, only returned for a merge operation.java.util.List<MergeResponse.ContentKeyDetails>getDetails()Details of all keys encountered during the merge or transplant operation.java.lang.StringgetEffectiveTargetHash()Head commit-ID of the target branch identified by the merge or transplant operation.java.lang.StringgetExpectedHash()The expected commit-ID of the target branch, as specified by the caller.java.lang.StringgetResultantTargetHash()Commit-ID of the target branch after the merge/transplant operation.java.util.List<LogResponse.LogEntry>getSourceCommits()Deprecated.java.lang.StringgetTargetBranch()Name of the target branch.java.util.List<LogResponse.LogEntry>getTargetCommits()Deprecated.default booleanwasApplied()Indicates whether the merge or transplant operation has been applied.default booleanwasSuccessful()Indicates whether the merge or transplant operation was successful without any conflicts.
-
-
-
Method Detail
-
wasApplied
@Default default boolean wasApplied()
Indicates whether the merge or transplant operation has been applied.
-
wasSuccessful
@Default default boolean wasSuccessful()
Indicates whether the merge or transplant operation was successful without any conflicts.
-
getResultantTargetHash
@Nullable java.lang.String getResultantTargetHash()
Commit-ID of the target branch after the merge/transplant operation.
-
getCommonAncestor
@Nullable java.lang.String getCommonAncestor()
Commit-ID of the identified common ancestor, only returned for a merge operation.
-
getTargetBranch
java.lang.String getTargetBranch()
Name of the target branch.
-
getEffectiveTargetHash
java.lang.String getEffectiveTargetHash()
Head commit-ID of the target branch identified by the merge or transplant operation.
-
getExpectedHash
@Nullable java.lang.String getExpectedHash()
The expected commit-ID of the target branch, as specified by the caller.
-
getSourceCommits
@Deprecated java.util.List<LogResponse.LogEntry> getSourceCommits()
Deprecated.
-
getTargetCommits
@Nullable @Deprecated java.util.List<LogResponse.LogEntry> getTargetCommits()
Deprecated.
-
getDetails
java.util.List<MergeResponse.ContentKeyDetails> getDetails()
Details of all keys encountered during the merge or transplant operation.
-
-