Class IncompatibilityMessage

    • Constructor Detail

      • IncompatibilityMessage

        public IncompatibilityMessage()
    • Method Detail

      • setMessage

        public void setMessage​(String message)

        A message about the incompatibility.

        Parameters:
        message - A message about the incompatibility.
      • getMessage

        public String getMessage()

        A message about the incompatibility.

        Returns:
        A message about the incompatibility.
      • withMessage

        public IncompatibilityMessage withMessage​(String message)

        A message about the incompatibility.

        Parameters:
        message - A message about the incompatibility.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setType

        public void setType​(String type)

        The type of incompatibility.

        Allowed values include:

        • ARN: The ARN.

        • FORM_FACTOR: The form factor (for example, phone or tablet).

        • MANUFACTURER: The manufacturer.

        • PLATFORM: The platform (for example, Android or iOS).

        Parameters:
        type - The type of incompatibility.

        Allowed values include:

        • ARN: The ARN.

        • FORM_FACTOR: The form factor (for example, phone or tablet).

        • MANUFACTURER: The manufacturer.

        • PLATFORM: The platform (for example, Android or iOS).

        See Also:
        DeviceAttribute
      • getType

        public String getType()

        The type of incompatibility.

        Allowed values include:

        • ARN: The ARN.

        • FORM_FACTOR: The form factor (for example, phone or tablet).

        • MANUFACTURER: The manufacturer.

        • PLATFORM: The platform (for example, Android or iOS).

        Returns:
        The type of incompatibility.

        Allowed values include:

        • ARN: The ARN.

        • FORM_FACTOR: The form factor (for example, phone or tablet).

        • MANUFACTURER: The manufacturer.

        • PLATFORM: The platform (for example, Android or iOS).

        See Also:
        DeviceAttribute
      • withType

        public IncompatibilityMessage withType​(String type)

        The type of incompatibility.

        Allowed values include:

        • ARN: The ARN.

        • FORM_FACTOR: The form factor (for example, phone or tablet).

        • MANUFACTURER: The manufacturer.

        • PLATFORM: The platform (for example, Android or iOS).

        Parameters:
        type - The type of incompatibility.

        Allowed values include:

        • ARN: The ARN.

        • FORM_FACTOR: The form factor (for example, phone or tablet).

        • MANUFACTURER: The manufacturer.

        • PLATFORM: The platform (for example, Android or iOS).

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DeviceAttribute
      • setType

        public void setType​(DeviceAttribute type)

        The type of incompatibility.

        Allowed values include:

        • ARN: The ARN.

        • FORM_FACTOR: The form factor (for example, phone or tablet).

        • MANUFACTURER: The manufacturer.

        • PLATFORM: The platform (for example, Android or iOS).

        Parameters:
        type - The type of incompatibility.

        Allowed values include:

        • ARN: The ARN.

        • FORM_FACTOR: The form factor (for example, phone or tablet).

        • MANUFACTURER: The manufacturer.

        • PLATFORM: The platform (for example, Android or iOS).

        See Also:
        DeviceAttribute
      • withType

        public IncompatibilityMessage withType​(DeviceAttribute type)

        The type of incompatibility.

        Allowed values include:

        • ARN: The ARN.

        • FORM_FACTOR: The form factor (for example, phone or tablet).

        • MANUFACTURER: The manufacturer.

        • PLATFORM: The platform (for example, Android or iOS).

        Parameters:
        type - The type of incompatibility.

        Allowed values include:

        • ARN: The ARN.

        • FORM_FACTOR: The form factor (for example, phone or tablet).

        • MANUFACTURER: The manufacturer.

        • PLATFORM: The platform (for example, Android or iOS).

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DeviceAttribute
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object