Class CheckSignatureRule
java.lang.Object
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
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)
-
Field Details
-
signature
Signature module to use. -
ignores
Class names to ignore signatures for (wildcards accepted). -
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.
-
ignoreDependencies
protected boolean ignoreDependenciesShould dependencies be ignored.
-
-
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
-