ValidationResults
A collection of validation results.
Initializers
import com.aliyun.ros.cdk.core.ValidationResults;
new ValidationResults();,new ValidationResults(java.util.List<ValidationResult> results);
| Name | Type | Description |
|---|---|---|
results | java.util.List<ValidationResult> | No description. |
resultsOptional
- Type: java.util.List<ValidationResult>
Methods
| Name | Description |
|---|---|
collect | No description. |
errorTreeList | No description. |
wrap | Wrap up all validation results into a single tree node. |
collect
public void collect(ValidationResult result)
- Type: ValidationResult
errorTreeList
public java.lang.String errorTreeList()
wrap
public ValidationResult wrap(java.lang.String message)
Wrap up all validation results into a single tree node.
If there are failures in the collection, add a message, otherwise return a success.
- Type: java.lang.String
Properties
| Name | Type | Description |
|---|---|---|
isSuccess | java.lang.Boolean | No description. |
results | java.util.List<ValidationResult> | No description. |
isSuccessRequired
public java.lang.Boolean getIsSuccess();
- Type: java.lang.Boolean
resultsRequired
public java.util.List<ValidationResult> getResults();
- Type: java.util.List<ValidationResult>