Class StringValue

  • Direct Known Subclasses:
    StringCondensed

    public class StringValue
    extends TestValue
    Holds the information for boolean test result
    Since:
    5/10/2017
    Author:
    Daniel Mercier
    • Method Detail

      • getCondensedJsonObject

        public com.google.gson.JsonObject getCondensedJsonObject​(int build,
                                                                 int hash)
        Create an JSON object with the condensed information of this result [EXPORT CONDENSED]
        Overrides:
        getCondensedJsonObject in class TestValue
        Parameters:
        build - Build number
        hash - Result hash
        Returns:
        JSON object
      • getJsonObject

        public com.google.gson.JsonObject getJsonObject​(int hash)
        Get last build result content in Json Object [EXPORT RAW] Works with TestValue getJsonObject()
        Overrides:
        getJsonObject in class TestValue
        Parameters:
        hash - Result hash
        Returns:
        Json object
      • getValueAsString

        public String getValueAsString​(int build)
        Return last value as string in default locale [TABLE PAGE][DETAIL PAGE]
        Overrides:
        getValueAsString in class TestValue
        Parameters:
        build - Build number
        Returns:
        String of value
      • getValueAsLocaleString

        public String getValueAsLocaleString​(int build,
                                             char decimalSeparator)
        Return last value as string in locale format [TABLE PAGE][DETAIL PAGE]
        Overrides:
        getValueAsLocaleString in class TestValue
        Parameters:
        build - Build number
        decimalSeparator - Decimal separator
        Returns:
        String of value
      • setValue

        public void setValue​(String value)
      • setValue

        public void setValue​(int build,
                             String value)
      • getValue

        public String getValue()
      • getValue

        public String getValue​(int build)