Package jetbrains.buildServer.serverSide
Interface STest
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description List<TestNameResponsibilityEntry>
getAllResponsibilities()
Returns all responsibilities for the testCurrentMuteInfo
getCurrentMuteInfo()
Returns current test mute info.TestName
getName()
Returns associated (low-level) TestName objectString
getProjectExternalId()
Returns related project external idString
getProjectId()
Returns related project idTestNameResponsibilityEntry
getResponsibility()
Deprecated.since 8.0, consider usinggetAllResponsibilities()
long
getTestId()
Deprecated.usegetTestNameId()
instead.long
getTestNameId()
Returns identifier of the test name.boolean
isMuted()
Determines whether this test is currently muted (in project or in build type).
-
-
-
Method Detail
-
getName
@NotNull TestName getName()
Returns associated (low-level) TestName object- Returns:
- associated TestName object
-
getTestNameId
long getTestNameId()
Returns identifier of the test name.- Returns:
- test name identifier.
-
getTestId
@Deprecated long getTestId()
Deprecated.usegetTestNameId()
instead.Returns the id associated with this test- Returns:
- test id
-
getProjectId
@NotNull String getProjectId()
Returns related project id- Returns:
- related project id
-
getProjectExternalId
@Nullable String getProjectExternalId()
Returns related project external id- Returns:
- related project external id
- Since:
- 8.0
-
getResponsibility
@Nullable TestNameResponsibilityEntry getResponsibility()
Deprecated.since 8.0, consider usinggetAllResponsibilities()
Returns responsibility information for the test.This is a shortcut method to check quickly whether the test has a responsibility. For a full information of the test responsibility, the client is expected to use
getAllResponsibilities()
.- Returns:
- responsibility information for the test
-
getAllResponsibilities
@NotNull List<TestNameResponsibilityEntry> getAllResponsibilities()
Returns all responsibilities for the test- Returns:
- all responsibilities for the test
- Since:
- 8.0
-
isMuted
boolean isMuted()
Determines whether this test is currently muted (in project or in build type).The returned information is up-do-date on the moment of call only and can change at any moment.
Can be significantly faster than
getCurrentMuteInfo() != null
check.- Returns:
- whether this test is muted.
-
getCurrentMuteInfo
@Nullable CurrentMuteInfo getCurrentMuteInfo()
Returns current test mute info.- Returns:
- current test mute info
-
-