Class MuteWebUtil


  • public abstract class MuteWebUtil
    extends Object
    Author:
    Maxim Podkolzine (maxim.podkolzine@jetbrains.com)
    • Constructor Detail

      • MuteWebUtil

        public MuteWebUtil()
    • Method Detail

      • shouldShowCurrentMuteInfo

        public static boolean shouldShowCurrentMuteInfo​(@Nullable
                                                        CurrentMuteInfo currentMuteInfo,
                                                        @Nullable
                                                        Boolean ignoreMuteScope,
                                                        @Nullable
                                                        SBuildType currentScope)
        Returns true if current mute info should be shown on a page with specified build type scope.
        Parameters:
        currentMuteInfo - current mute info
        ignoreMuteScope - if specified the scope will not be taken into account
        currentScope - current scope
        Returns:
        see above
      • shouldShowCurrentMuteInfo

        public static boolean shouldShowCurrentMuteInfo​(@Nullable
                                                        BuildProblem problem,
                                                        @Nullable
                                                        Boolean ignoreMuteScope,
                                                        @Nullable
                                                        SBuildType currentScope)
        Returns true if current mute info from the specific problem should be shown on a page with specified build type scope.
        Parameters:
        problem - - build problem
        ignoreMuteScope - if specified the scope will not be taken into account
        currentScope - current scope
        Returns:
        see above
        See Also:
        shouldShowCurrentMuteInfo(CurrentMuteInfo, Boolean, SBuildType)