org.codehaus.mojo.animal_sniffer.enforcer
Class CheckSignatureRule

java.lang.Object
  extended by org.codehaus.mojo.animal_sniffer.enforcer.CheckSignatureRule
All Implemented Interfaces:
org.apache.maven.enforcer.rule.api.EnforcerRule

public class CheckSignatureRule
extends java.lang.Object
implements org.apache.maven.enforcer.rule.api.EnforcerRule

Created by IntelliJ IDEA.

Since:
Sep 4, 2009 2:44:29 PM
Author:
connollys

Field Summary
protected  boolean ignoreDependencies
          Should dependencies be ignored.
protected  java.lang.String[] ignores
          Class names to ignore signatures for (wildcards accepted).
protected  Signature signature
          Signature module to use.
 
Constructor Summary
CheckSignatureRule()
           
 
Method Summary
 void execute(org.apache.maven.enforcer.rule.api.EnforcerRuleHelper helper)
           
 java.lang.String getCacheId()
           
 boolean isCacheable()
           
 boolean isResultValid(org.apache.maven.enforcer.rule.api.EnforcerRule enforcerRule)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

signature

protected Signature signature
Signature module to use.

Is defined by:
Is required.

ignores

protected java.lang.String[] ignores
Class names to ignore signatures for (wildcards accepted).

Is defined by:

ignoreDependencies

protected boolean ignoreDependencies
Should dependencies be ignored.

Is defined by:
default-value:
true
Constructor Detail

CheckSignatureRule

public CheckSignatureRule()
Method Detail

execute

public void execute(org.apache.maven.enforcer.rule.api.EnforcerRuleHelper helper)
             throws org.apache.maven.enforcer.rule.api.EnforcerRuleException
Specified by:
execute in interface org.apache.maven.enforcer.rule.api.EnforcerRule
Throws:
org.apache.maven.enforcer.rule.api.EnforcerRuleException

isCacheable

public boolean isCacheable()
Specified by:
isCacheable in interface org.apache.maven.enforcer.rule.api.EnforcerRule

isResultValid

public boolean isResultValid(org.apache.maven.enforcer.rule.api.EnforcerRule enforcerRule)
Specified by:
isResultValid in interface org.apache.maven.enforcer.rule.api.EnforcerRule

getCacheId

public java.lang.String getCacheId()
Specified by:
getCacheId in interface org.apache.maven.enforcer.rule.api.EnforcerRule


Copyright © 2008-2010 Codehaus. All Rights Reserved.