public interface IdentifyingExecutor<T extends IdentifyingExecutor<T>>
Modifier and Type | Method and Description |
---|---|
@Nullable ContextualVcsId<T> |
getVcsIdForExecutor(@NotNull VcsRepositoryData vcsRepositoryData)
Returned id has to fulfill the following:
Given two VcsRepositoryData objects A and B, and executor e returning equal ContextualVcsId (in terms of equals()),
for any operation foo() provided by the executor,
the calls e::foo(A) and e::foo(B) should be equivalent.
|
@Nullable @Nullable ContextualVcsId<T> getVcsIdForExecutor(@NotNull @NotNull VcsRepositoryData vcsRepositoryData)
VcsBranchDetector
. If they also point
to the same branch, they are considered equal in context of VcsChangeDetector
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.