public interface LVcsStatusLogger
| Modifier and Type | Method and Description |
|---|---|
void |
connectionFailed(LVcsRootInstanceHolder buildType,
VcsRoot root,
java.lang.Throwable problem)
Notifies that connection is failed for specified VCS root and build configuration.
|
void |
connectionSuccessful(LVcsRootInstanceHolder buildType,
VcsRoot root)
Clears last failure for specified VCS root and build configuration.
|
void |
currentStateFailedForVcsRoot(VcsRoot vcsRoot,
java.lang.Throwable throwable)
Should be called if attempt to get current state for the specified VCS root failed.
|
void |
currentStateSuccessfulForVcsRoot(VcsRoot vcsRoot)
Should be called if attempt to get current state for the specified VCS root was successful.
|
VcsConnectionStatus |
getConnectionStatus(LVcsRootInstanceHolder buildType,
VcsRoot root)
Returns last connection status for specified build configuration and VCS root
|
boolean |
isVcsRootHasGoodStatus(VcsRoot root)
Check if VCS root has good status in every configuration it attached to
|
boolean |
isVcsRootHasGoodStatus(VcsRoot root,
java.util.Set<java.lang.String> buildTypeIntIds)
Checks if the given VCS root has a good status in the build configurations with
the internal id from the specified set.
|
void connectionFailed(@NotNull
LVcsRootInstanceHolder buildType,
@NotNull
VcsRoot root,
@NotNull
java.lang.Throwable problem)
buildType - build configuration for which to store connection status.
If build configuration is null, then error is stored for all build configurations where this root is used.root - VCS root for which to store connection statusproblem - errorvoid connectionSuccessful(@NotNull
LVcsRootInstanceHolder buildType,
@NotNull
VcsRoot root)
buildType - build configuration to clear error for.
If build configuration is null, then error is cleared for all build configurations where this root is used.root - VCS root@NotNull VcsConnectionStatus getConnectionStatus(@NotNull LVcsRootInstanceHolder buildType, @NotNull VcsRoot root)
buildType - build configurationroot - VCS rootboolean isVcsRootHasGoodStatus(@NotNull
VcsRoot root)
root - VCS root of interestboolean isVcsRootHasGoodStatus(@NotNull
VcsRoot root,
@NotNull
java.util.Set<java.lang.String> buildTypeIntIds)
root - VCS root of interestbuildTypeIntIds - ids of buildTypes where status should be checkedvoid currentStateFailedForVcsRoot(@NotNull
VcsRoot vcsRoot,
@NotNull
java.lang.Throwable throwable)
vcsRoot - VCS rootthrowable - if exception occursvoid currentStateSuccessfulForVcsRoot(@NotNull
VcsRoot vcsRoot)
vcsRoot - VCS root