Interface TestRunMetadata
-
- All Known Implementing Classes:
TestRunMetadataImpl
public interface TestRunMetadata
- Since:
- 2018.2
- Author:
- kir
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<String>
getNames()
Double
getNumValue(String name)
String
getType(String name)
String
getValue(String name)
-
-
-
Method Detail
-
getValue
@Nullable String getValue(@NotNull String name)
- Parameters:
name
-- Returns:
- reported metadata string value, if not reported or numeric value was provided, returns null
-
getNumValue
@Nullable Double getNumValue(@NotNull String name)
- Parameters:
name
-- Returns:
- reported metadata numeric value, if not reported or string value was provided, returns null
-
getType
@NotNull String getType(@NotNull String name)
- Parameters:
name
-- Returns:
- reported metadata type, which is "text" by default for non-numeric types and "number" for numeric ones
- See Also:
jetbrains.buildServer.messages.TestMetadata.NUMBER_TYPE
,jetbrains.buildServer.messages.TestMetadata.TEXT_TYPE
-
-