com.lewisd.maven.lint.rules.basic
Class RedundantDependencyVersionsJDOMRule

java.lang.Object
  extended by com.lewisd.maven.lint.rules.AbstractRule
      extended by com.lewisd.maven.lint.rules.basic.RedundantDependencyVersionsJDOMRule
All Implemented Interfaces:
Rule

public class RedundantDependencyVersionsJDOMRule
extends AbstractRule


Field Summary
 
Fields inherited from class com.lewisd.maven.lint.rules.AbstractRule
expressionEvaluator, MAVEN_PROJECT, modelUtil, VERSION_PROPERTIES
 
Constructor Summary
RedundantDependencyVersionsJDOMRule(ExpressionEvaluator expressionEvaluator, ModelUtil modelUtil)
           
 
Method Summary
protected  void addRequiredModels(Set<String> requiredModels)
           
protected  void checkForRedundantVersions(org.apache.maven.project.MavenProject mavenProject, ResultCollector resultCollector, Object modelObject, Object inheritedModelObject, String dependencyDescription, String inheritedDescription)
           
 String getIdentifier()
           
 void invoke(org.apache.maven.project.MavenProject mavenProject, Map<String,Object> models, ResultCollector resultCollector)
           
 
Methods inherited from class com.lewisd.maven.lint.rules.AbstractRule
getRequiredModels
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RedundantDependencyVersionsJDOMRule

@Autowired
public RedundantDependencyVersionsJDOMRule(ExpressionEvaluator expressionEvaluator,
                                                     ModelUtil modelUtil)
Method Detail

addRequiredModels

protected void addRequiredModels(Set<String> requiredModels)
Specified by:
addRequiredModels in class AbstractRule

getIdentifier

public String getIdentifier()

invoke

public void invoke(org.apache.maven.project.MavenProject mavenProject,
                   Map<String,Object> models,
                   ResultCollector resultCollector)

checkForRedundantVersions

protected void checkForRedundantVersions(org.apache.maven.project.MavenProject mavenProject,
                                         ResultCollector resultCollector,
                                         Object modelObject,
                                         Object inheritedModelObject,
                                         String dependencyDescription,
                                         String inheritedDescription)


Copyright © 2012. All Rights Reserved.