public interface ConflictChange
Change
describing how a path was changed on one side of a Conflict
. For some
types of changes
, a source path
will also be included.
Note: The path in the repository for which the Conflict
happened may be either the getPath()
or the getSrcPath()
.
Modifier and Type | Method and Description |
---|---|
Path |
getPath()
Retrieves the path that was
changed or, for copies and
moves/renames , the path after the change was applied. |
Path |
getSrcPath()
For certain
types of changes , retrieves the path prior to the change. |
ChangeType |
getType()
Retrieves the
type of change that was made on this side of the conflict. |
@Nonnull Path getPath()
changed
or, for copies
and
moves/renames
, the path after the change was applied.moves/renames
, the path after the change@Nullable Path getSrcPath()
types of changes
, retrieves the path prior to the change.
Copies
and moves/renames
should attempt to provide a
source path. However, due to the vagaries of source control, it is possible they will be unable to. Callers
should not assume this path will be provided even for copies, moves or renames.
@Nonnull ChangeType getType()
type of change
that was made on this side of the conflict.Copyright © 2019 Atlassian. All rights reserved.