public interface MuteInfo
The major contract of this entity is invariance of all data returned by getters of this interface. So, if a client got a value from one of getters they can assume that the next call of this getter even from another instance (but with the same key) will return an equivalent value.
The key is Id - see getId()
.
So all implementations MUST implement Object.equals(Object)
and Object.hashCode()
that consider Id only.
MuteScope
Modifier and Type | Method and Description |
---|---|
UnmuteOptions |
getAutoUnmuteOptions()
Options how the system should unmute the problem automatically.
|
java.util.Collection<java.lang.Integer> |
getBuildProblemIds()
Returns collection of build problems that were muted in scope of this muting operation.
|
java.lang.Integer |
getId()
The key of the mute fact.
|
java.lang.String |
getMutingComment()
Muting note.
|
java.util.Date |
getMutingTime()
Date and time of the muting fact.
|
User |
getMutingUser()
Returns user who muted test.
|
long |
getMutingUserId()
User that has muted something.
|
SProject |
getProject()
The project where an object was muted.
|
java.lang.String |
getProjectId()
The internal project ID where an object was muted.
|
MuteScope |
getScope()
Scope, where problems were muted.
|
java.util.Collection<java.lang.Long> |
getTestNameIds()
Set of tests that were muted.
|
java.util.Collection<STest> |
getTests()
Retrieves tests that were muted.
|
@NotNull java.lang.Integer getId()
@NotNull java.lang.String getProjectId()
@Nullable SProject getProject()
null
, if the project does not exist anymore.long getMutingUserId()
@Nullable User getMutingUser()
@NotNull java.util.Date getMutingTime()
@Nullable java.lang.String getMutingComment()
@NotNull MuteScope getScope()
@NotNull java.util.Collection<java.lang.Long> getTestNameIds()
MuteScope.ScopeType.IN_ONE_BUILD
.@NotNull java.util.Collection<STest> getTests()
@NotNull java.util.Collection<java.lang.Integer> getBuildProblemIds()
@NotNull UnmuteOptions getAutoUnmuteOptions()