Class BuildTriggerLinkProvider
- java.lang.Object
-
- jetbrains.buildServer.controllers.BuildTriggerLinkProvider
-
- All Implemented Interfaces:
SystemProblemWebSpecificsProvider
public class BuildTriggerLinkProvider extends Object implements SystemProblemWebSpecificsProvider
- Author:
- Pavel.Sher
-
-
Constructor Summary
Constructors Constructor Description BuildTriggerLinkProvider(SystemProblemWebSpecificsManager manager, SystemProblemList systemProblemList)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SystemProblemWebSpecifics
getWebSpecifics(SystemProblemEntry problemEntry, Object inContextOf, WebLink currentPage)
Returns an object containing web specific information for the given system problem.
-
-
-
Constructor Detail
-
BuildTriggerLinkProvider
public BuildTriggerLinkProvider(@NotNull SystemProblemWebSpecificsManager manager, @NotNull SystemProblemList systemProblemList)
-
-
Method Detail
-
getWebSpecifics
public SystemProblemWebSpecifics getWebSpecifics(@NotNull SystemProblemEntry problemEntry, @Nullable Object inContextOf, @Nullable WebLink currentPage)
Description copied from interface:SystemProblemWebSpecificsProvider
Returns an object containing web specific information for the given system problem.- Specified by:
getWebSpecifics
in interfaceSystemProblemWebSpecificsProvider
- Parameters:
problemEntry
- system probleminContextOf
- the system entity -- Project (SProject), Build Type (SBuildType), VCS Root (SVcsRoot), etc. -- on the context of which the problem is displayed/handled. For example, on the build configuration page each problem is displayed in the context of this Build Type, even if it isn't directly related (say, a VCS Root problem). Null means the context is the whole system.currentPage
- the web link of the page the problem is currently diplayed on.- Returns:
- the SystemProblemWebSpecifics object or null if the web specific information cannot be constructed/gathered for this problem
-
-