jetbrains.buildServer.web.functions
Class MuteWebUtil

java.lang.Object
  extended by jetbrains.buildServer.web.functions.MuteWebUtil

public abstract class MuteWebUtil
extends java.lang.Object

Author:
Maxim Podkolzine (maxim.podkolzine@jetbrains.com)

Constructor Summary
MuteWebUtil()
           
 
Method Summary
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.
 
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