Skip to content

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


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)

resultRequired


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.

messageRequired

  • 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();

Protocols