Class MuteWebUtil


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

      Constructors 
      Constructor Description
      MuteWebUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean shouldShowCurrentMuteInfo​(CurrentMuteInfo currentMuteInfo, java.lang.Boolean ignoreMuteScope, SBuildType currentScope)
      Returns true if current mute info should be shown on a page with specified build type scope.
      static boolean shouldShowCurrentMuteInfo​(BuildProblem problem, java.lang.Boolean ignoreMuteScope, SBuildType currentScope)
      Returns true if current mute info from the specific problem should be shown on a page with specified build type scope.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MuteWebUtil

        public MuteWebUtil()
    • Method Detail

      • shouldShowCurrentMuteInfo

        public static boolean shouldShowCurrentMuteInfo​(@Nullable
                                                        CurrentMuteInfo currentMuteInfo,
                                                        @Nullable
                                                        java.lang.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
                                                        java.lang.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)