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 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  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)
           
 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.


ignores

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


ignoreDependencies

protected boolean ignoreDependencies
Should dependencies be ignored.

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 String getCacheId()
Specified by:
getCacheId in interface org.apache.maven.enforcer.rule.api.EnforcerRule


Copyright © 2008-2012 Codehaus. All Rights Reserved.