public class InstanceValidationResultImpl extends ValidationResultImpl
| Constructor and Description |
|---|
InstanceValidationResultImpl(org.apache.ambari.view.validation.ValidationResult instanceResult,
Map<String,org.apache.ambari.view.validation.ValidationResult> propertyResults)
Construct an instance validation result.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,org.apache.ambari.view.validation.ValidationResult> |
getPropertyResults()
Get the validation results for the properties of the associated instance.
|
String |
toJson()
Return this result as a JSON string.
|
create, getDetail, isValidpublic InstanceValidationResultImpl(org.apache.ambari.view.validation.ValidationResult instanceResult,
Map<String,org.apache.ambari.view.validation.ValidationResult> propertyResults)
instanceResult - the results of the instance validationpropertyResults - the results of the property validationspublic Map<String,org.apache.ambari.view.validation.ValidationResult> getPropertyResults()
public String toJson()
Copyright © 2022 Apache Software Foundation. All rights reserved.