Class LicenseURLLicensePolicyEnforcer

  • All Implemented Interfaces:
    LicensePolicyEnforcer<org.apache.maven.model.License>

    public class LicenseURLLicensePolicyEnforcer
    extends AbstractLicensePolicyEnforcer<org.apache.maven.model.License>
    Make policy decisions on a License based on the license URL.
    • Constructor Detail

      • LicenseURLLicensePolicyEnforcer

        public LicenseURLLicensePolicyEnforcer​(LicensePolicy policy)
    • Method Detail

      • apply

        public boolean apply​(org.apache.maven.model.License target)
      • getType

        public Class<?> getType()