public final class Compatibility extends Object
| Constructor and Description |
|---|
Compatibility() |
| Modifier and Type | Method and Description |
|---|---|
String |
description()
Get the description property: Full error message if any compatibility issues are found.
|
Boolean |
isCompatible()
Get the isCompatible property: Tells if product is compatible with current device.
|
List<CompatibilityIssue> |
issues()
Get the issues property: List of all issues found.
|
String |
message()
Get the message property: Short error message if any compatibility issues are found.
|
void |
validate()
Validates the instance.
|
Compatibility |
withDescription(String description)
Set the description property: Full error message if any compatibility issues are found.
|
Compatibility |
withIsCompatible(Boolean isCompatible)
Set the isCompatible property: Tells if product is compatible with current device.
|
Compatibility |
withIssues(List<CompatibilityIssue> issues)
Set the issues property: List of all issues found.
|
Compatibility |
withMessage(String message)
Set the message property: Short error message if any compatibility issues are found.
|
public Boolean isCompatible()
public Compatibility withIsCompatible(Boolean isCompatible)
isCompatible - the isCompatible value to set.public String message()
public Compatibility withMessage(String message)
message - the message value to set.public String description()
public Compatibility withDescription(String description)
description - the description value to set.public List<CompatibilityIssue> issues()
public Compatibility withIssues(List<CompatibilityIssue> issues)
issues - the issues value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.