public class CheckSignatureRule extends Object implements org.apache.maven.enforcer.rule.api.EnforcerRule
Modifier and Type | Field and Description |
---|---|
protected String[] |
annotations
Annotation names to consider to ignore annotated methods, classes or fields.
|
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 and Description |
---|
CheckSignatureRule() |
Modifier and Type | Method and Description |
---|---|
void |
execute(org.apache.maven.enforcer.rule.api.EnforcerRuleHelper helper) |
String |
getCacheId() |
boolean |
isCacheable() |
boolean |
isResultValid(org.apache.maven.enforcer.rule.api.EnforcerRule enforcerRule) |
protected Signature signature
protected String[] ignores
protected String[] annotations
protected boolean ignoreDependencies
public void execute(org.apache.maven.enforcer.rule.api.EnforcerRuleHelper helper) throws org.apache.maven.enforcer.rule.api.EnforcerRuleException
execute
in interface org.apache.maven.enforcer.rule.api.EnforcerRule
org.apache.maven.enforcer.rule.api.EnforcerRuleException
public boolean isCacheable()
isCacheable
in interface org.apache.maven.enforcer.rule.api.EnforcerRule
public boolean isResultValid(org.apache.maven.enforcer.rule.api.EnforcerRule enforcerRule)
isResultValid
in interface org.apache.maven.enforcer.rule.api.EnforcerRule
public String getCacheId()
getCacheId
in interface org.apache.maven.enforcer.rule.api.EnforcerRule
Copyright © 2008–2019. All rights reserved.