com.lewisd.maven.lint.rules
Class AbstractRule

java.lang.Object
  extended by com.lewisd.maven.lint.rules.AbstractRule
All Implemented Interfaces:
Rule
Direct Known Subclasses:
AbstractReduntantVersionRule, GroupArtifactVersionMustBeInCorrectOrderRule, RedundantDependencyVersionsJDOMRule, VersionPropertiesMustNotUseHyphenRule, VersionPropertiesMustUseProjectVersionRule

public abstract class AbstractRule
extends Object
implements Rule


Field Summary
protected  ExpressionEvaluator expressionEvaluator
           
protected static String MAVEN_PROJECT
           
protected  ModelUtil modelUtil
           
protected static String VERSION_PROPERTIES
           
 
Constructor Summary
protected AbstractRule(ExpressionEvaluator expressionEvaluator, ModelUtil modelUtil)
           
 
Method Summary
protected abstract  void addRequiredModels(Set<String> requiredModels)
           
 Set<String> getRequiredModels()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.lewisd.maven.lint.Rule
getIdentifier, invoke
 

Field Detail

VERSION_PROPERTIES

protected static final String VERSION_PROPERTIES
See Also:
Constant Field Values

MAVEN_PROJECT

protected static final String MAVEN_PROJECT
See Also:
Constant Field Values

expressionEvaluator

protected final ExpressionEvaluator expressionEvaluator

modelUtil

protected final ModelUtil modelUtil
Constructor Detail

AbstractRule

protected AbstractRule(ExpressionEvaluator expressionEvaluator,
                       ModelUtil modelUtil)
Method Detail

getRequiredModels

public Set<String> getRequiredModels()
Specified by:
getRequiredModels in interface Rule

addRequiredModels

protected abstract void addRequiredModels(Set<String> requiredModels)


Copyright © 2012. All Rights Reserved.