Class RequireDebianCompatibleVersionRule

  • All Implemented Interfaces:
    org.apache.maven.enforcer.rule.api.EnforcerRule, org.apache.maven.enforcer.rule.api.EnforcerRuleBase

    public class RequireDebianCompatibleVersionRule
    extends java.lang.Object
    implements org.apache.maven.enforcer.rule.api.EnforcerRule
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void ensureValidDebianVersion​(java.lang.String version)  
      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 rule)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.apache.maven.enforcer.rule.api.EnforcerRuleBase

        getLevel, setLog
    • Constructor Detail

      • RequireDebianCompatibleVersionRule

        public RequireDebianCompatibleVersionRule()
    • 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
      • ensureValidDebianVersion

        public void ensureValidDebianVersion​(java.lang.String version)
                                      throws org.apache.maven.enforcer.rule.api.EnforcerRuleException
        Throws:
        org.apache.maven.enforcer.rule.api.EnforcerRuleException
      • getCacheId

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