Class BuildTriggerLinkProvider

    • 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 interface SystemProblemWebSpecificsProvider
        Parameters:
        problemEntry - system problem
        inContextOf - 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