jetbrains.buildServer.serverSide.mute
Interface MuteScope


public interface MuteScope

Mute scope - where problems were muted.

Since:
6.5
Author:
Leonid Bushuev from JetBrains

Nested Class Summary
static class MuteScope.ScopeType
          Muting scope type.
 
Method Summary
 java.lang.Long getBuildId()
          Build when problems were muted.
 java.util.Collection<java.lang.String> getBuildTypeIds()
          For the MuteScope.ScopeType.IN_CONFIGURATION provides with build types in wich problems were muted.
 java.lang.String getProjectId()
          Project where problems were muted, if scope is MuteScope.ScopeType.IN_PROJECT.
 MuteScope.ScopeType getScopeType()
          Scope type in wich a problem is muted.
 

Method Detail

getScopeType

@NotNull
MuteScope.ScopeType getScopeType()
Scope type in wich a problem is muted.

Returns:
muting scope (one build / build configuration / whole project).

getProjectId

@Nullable
java.lang.String getProjectId()
Project where problems were muted, if scope is MuteScope.ScopeType.IN_PROJECT.

Returns:
project identifier.

getBuildTypeIds

@Nullable
java.util.Collection<java.lang.String> getBuildTypeIds()
For the MuteScope.ScopeType.IN_CONFIGURATION provides with build types in wich problems were muted.

Returns:
immutable set of build type identifiers if the scope is MuteScope.ScopeType.IN_CONFIGURATION, or null otherwise.

getBuildId

@Nullable
java.lang.Long getBuildId()
Build when problems were muted.

Returns:
build identifier if the scope is MuteScope.ScopeType.IN_ONE_BUILD, or null otherwise.