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 testCurrentMuteInfogetCurrentMuteInfo()Returns current test mute info.TestNamegetName()Returns associated (low-level) TestName objectStringgetProjectExternalId()Returns related project external idStringgetProjectId()Returns related project idTestNameResponsibilityEntrygetResponsibility()Deprecated.since 8.0, consider usinggetAllResponsibilities()longgetTestId()Deprecated.usegetTestNameId()instead.longgetTestNameId()Returns identifier of the test name.booleanisMuted()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() != nullcheck.- Returns:
- whether this test is muted.
-
getCurrentMuteInfo
@Nullable CurrentMuteInfo getCurrentMuteInfo()
Returns current test mute info.- Returns:
- current test mute info
-
-