Examples of RuleSetResolverException


Examples of com.buschmais.jqassistant.core.analysis.api.RuleSetResolverException

        final List<Concept> selectedConcepts = new ArrayList<>();
        if (conceptNames != null) {
            for (String conceptName : conceptNames) {
                Concept concept = ruleSet.getConcepts().get(conceptName);
                if (concept == null) {
                    throw new RuleSetResolverException("The concept '" + conceptName + "' is not defined.");
                }
                selectedConcepts.add(concept);
            }
        }
        return selectedConcepts;
View Full Code Here

Examples of com.buschmais.jqassistant.core.analysis.api.RuleSetResolverException

        final List<Constraint> selectedConstraints = new ArrayList<>();
        if (constraintNames != null) {
            for (String constraintName : constraintNames) {
                Constraint concept = ruleSet.getConstraints().get(constraintName);
                if (concept == null) {
                    throw new RuleSetResolverException("The constraint '" + constraintName + "' is not defined.");
                }
                selectedConstraints.add(concept);
            }
        }
        return selectedConstraints;
View Full Code Here

Examples of com.buschmais.jqassistant.core.analysis.api.RuleSetResolverException

    private List<Group> getSelectedGroups(List<String> groupNames, RuleSet ruleSet) throws RuleSetResolverException {
        final List<Group> selectedGroups = new ArrayList<>();
        for (String groupName : groupNames) {
            Group group = ruleSet.getGroups().get(groupName);
            if (group == null) {
                throw new RuleSetResolverException("The group '" + groupName + "' is not defined.");
            }
            selectedGroups.add(group);
        }
        return selectedGroups;
    }
View Full Code Here

Examples of com.buschmais.jqassistant.core.analysis.api.RuleSetResolverException

    final List<Concept> selectedConcepts = new ArrayList<>();
    if (conceptNames != null) {
      for (String conceptName : conceptNames) {
        Concept concept = ruleSet.getConcepts().get(conceptName);
        if (concept == null) {
          throw new RuleSetResolverException("The concept '" + conceptName + "' is not defined.");
        }
        selectedConcepts.add(concept);
      }
    }
    return selectedConcepts;
View Full Code Here

Examples of com.buschmais.jqassistant.core.analysis.api.RuleSetResolverException

    final List<Constraint> selectedConstraints = new ArrayList<>();
    if (constraintNames != null) {
      for (String constraintName : constraintNames) {
        Constraint concept = ruleSet.getConstraints().get(constraintName);
        if (concept == null) {
          throw new RuleSetResolverException("The constraint '" + constraintName + "' is not defined.");
        }
        selectedConstraints.add(concept);
      }
    }
    return selectedConstraints;
View Full Code Here

Examples of com.buschmais.jqassistant.core.analysis.api.RuleSetResolverException

        final List<Concept> selectedConcepts = new ArrayList<>();
        if (conceptNames != null) {
            for (String conceptName : conceptNames) {
                Concept concept = ruleSet.getConcepts().get(conceptName);
                if (concept == null) {
                    throw new RuleSetResolverException("The concept '" + conceptName + "' is not defined.");
                }
                selectedConcepts.add(concept);
            }
        }
        return selectedConcepts;
View Full Code Here

Examples of com.buschmais.jqassistant.core.analysis.api.RuleSetResolverException

        final List<Constraint> selectedConstraints = new ArrayList<>();
        if (constraintNames != null) {
            for (String constraintName : constraintNames) {
                Constraint concept = ruleSet.getConstraints().get(constraintName);
                if (concept == null) {
                    throw new RuleSetResolverException("The constraint '" + constraintName + "' is not defined.");
                }
                selectedConstraints.add(concept);
            }
        }
        return selectedConstraints;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.