|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface VcsStatusProvider
Collects success / failure statuses for VCS roots in build configurations.
| Method Summary | |
|---|---|
void |
connectionFailed(BuildType buildType,
VcsRoot root,
java.lang.Throwable problem)
Notifies that connection is failed for specified VCS root and build configuration. |
void |
connectionSuccessful(BuildType buildType,
VcsRoot root)
Clears last failure for specified VCS root and build configuration. |
VcsConnectionStatus |
getConnectionStatus(BuildType buildType,
VcsRoot root)
Returns last connection status for specified build configuration and VCS root |
java.util.Map<BuildType,java.util.Collection<VcsRoot>> |
getFailuresPerBuildType()
Returns map of build configuration and vcs root pairs where connection is failed |
boolean |
isVcsRootHasGoodStatus(VcsRoot root)
Check if VCS root has good status in every configuration it attached to |
| Method Detail |
|---|
void connectionFailed(@NotNull
BuildType 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 - error
void connectionSuccessful(@NotNull
BuildType 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
BuildType buildType,
@NotNull
VcsRoot root)
buildType - build configurationroot - VCS root
@NotNull java.util.Map<BuildType,java.util.Collection<VcsRoot>> getFailuresPerBuildType()
boolean isVcsRootHasGoodStatus(@NotNull
VcsRoot root)
root - VCS root of interest
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||