Class CheckSignatureRule
java.lang.Object
org.codehaus.mojo.animal_sniffer.enforcer.CheckSignatureRule
- All Implemented Interfaces:
org.apache.maven.enforcer.rule.api.EnforcerRule, org.apache.maven.enforcer.rule.api.EnforcerRuleBase
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
FieldsModifier and TypeFieldDescriptionprotected String[]Annotation names to consider to ignore annotated methods, classes or fields.protected booleanShould dependencies be ignored.protected String[]Class names to ignore signatures for (wildcards accepted).protected SignatureSignature module to use. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(org.apache.maven.enforcer.rule.api.EnforcerRuleHelper helper) booleanbooleanisResultValid(org.apache.maven.enforcer.rule.api.EnforcerRule enforcerRule) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.maven.enforcer.rule.api.EnforcerRuleBase
getLevel, getRuleName, setLog
-
Field Details
-
signature
Signature module to use. //required //parameter -
ignores
Class names to ignore signatures for (wildcards accepted). //parameter -
annotations
Annotation names to consider to ignore annotated methods, classes or fields.By default "org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement" and "org.jvnet.animal_sniffer.IgnoreJRERequirement" are used. //parameter
- See Also:
-
ignoreDependencies
protected boolean ignoreDependenciesShould dependencies be ignored. //parameter default-value="true"
-
-
Constructor Details
-
CheckSignatureRule
public CheckSignatureRule()
-
-
Method Details
-
execute
public void execute(org.apache.maven.enforcer.rule.api.EnforcerRuleHelper helper) throws org.apache.maven.enforcer.rule.api.EnforcerRuleException - Specified by:
executein interfaceorg.apache.maven.enforcer.rule.api.EnforcerRule- Throws:
org.apache.maven.enforcer.rule.api.EnforcerRuleException
-
isCacheable
public boolean isCacheable()- Specified by:
isCacheablein interfaceorg.apache.maven.enforcer.rule.api.EnforcerRule
-
isResultValid
public boolean isResultValid(org.apache.maven.enforcer.rule.api.EnforcerRule enforcerRule) - Specified by:
isResultValidin interfaceorg.apache.maven.enforcer.rule.api.EnforcerRule
-
getCacheId
- Specified by:
getCacheIdin interfaceorg.apache.maven.enforcer.rule.api.EnforcerRule
-