Class Gs2AttributeValue

    • Constructor Detail

      • Gs2AttributeValue

        Gs2AttributeValue​(@NotNull
                          @NotNull Gs2Attributes attribute,
                          @Nullable
                          @Nullable java.lang.String value)
    • Method Detail

      • parse

        @NotNull
        static @NotNull Gs2AttributeValue parse​(@NotNull
                                                @NotNull java.lang.String value)
        Parses a potential Gs2AttributeValue String.
        Parameters:
        value - The string that contains the Attribute-Value pair (where value is optional).
        Returns:
        The parsed class, or null if the String was null.
        Throws:
        java.lang.IllegalArgumentException - If the String is an invalid Gs2AttributeValue