package tech.easyflow.skill.validation;

import java.util.ArrayList;
import java.util.List;

/**
 * Skill 全量校验结果。
 */
public class SkillValidationResult {

    private boolean valid;
    private List<SkillValidationIssue> issues = new ArrayList<>();

    public boolean isValid() { return valid; }
    public void setValid(boolean valid) { this.valid = valid; }
    public List<SkillValidationIssue> getIssues() { return issues; }
    public void setIssues(List<SkillValidationIssue> issues) { this.issues = issues == null ? new ArrayList<>() : new ArrayList<>(issues); }
}
