Package org.springframework.ide.eclipse.beans.core.internal.model.validation.rules

Examples of org.springframework.ide.eclipse.beans.core.internal.model.validation.rules.BeanDeprecationRule.validate()


    context = new BeansValidationContextHelper(attribute, parent, config, project, reporter, validator,
        QuickfixProcessorFactory.DEPRECATED, false, reportError, config);

    if (deprecationRule != null) {
      context.setCurrentRuleDefinition(depracationRuleDefinition);
      deprecationRule.validate(parentBean, context, null);
    }

    return context.getErrorFound();

  }
View Full Code Here


              mergedClassName));
    }

    if (deprecationRule != null) {
      context.setCurrentRuleDefinition(depracationRuleDefinition);
      deprecationRule.validate(property, context, null);
    }

    return context.getErrorFound();
  }
View Full Code Here

      BeanDeprecationRule deprecationRule = (BeanDeprecationRule) (ruleDefinition != null ? ruleDefinition
          .getRule() : null);

      if (deprecationRule != null) {
        classContext.setCurrentRuleDefinition(ruleDefinition);
        deprecationRule.validate(parentBean, deprecatedContext, null);
      }

      Set<String> problemIdToIgnore = new HashSet<String>();
      problemIdToIgnore.add("MISSING_CONSTRUCTOR_ARG_NAME");
      BeansValidationContextHelper constructorArgContext = new BeansValidationContextHelper(attribute, parent,
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.