Interface TestRunMetadata

  • All Known Implementing Classes:
    TestRunMetadataImpl

    public interface TestRunMetadata
    Since:
    2018.2
    Author:
    kir
    • Method Detail

      • getNames

        @NotNull
        Set<String> getNames()
        Returns:
        names of metadata elements
      • 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