Class IncompatibilityMessage
- All Implemented Interfaces:
Serializable
,Cloneable
Represents information about incompatibility.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
A message about the incompatibility.getType()
The type of incompatibility.int
hashCode()
void
setMessage
(String message) A message about the incompatibility.void
setType
(DeviceAttribute type) The type of incompatibility.void
The type of incompatibility.toString()
Returns a string representation of this object; useful for testing and debugging.withMessage
(String message) A message about the incompatibility.withType
(DeviceAttribute type) The type of incompatibility.The type of incompatibility.
-
Constructor Details
-
IncompatibilityMessage
public IncompatibilityMessage()
-
-
Method Details
-
setMessage
A message about the incompatibility.
- Parameters:
message
- A message about the incompatibility.
-
getMessage
A message about the incompatibility.
- Returns:
- A message about the incompatibility.
-
withMessage
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
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:
-
-
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:
-
-
withType
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:
-
-
setType
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:
-
-
withType
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:
-
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-