Class AbstractLicensePolicyEnforcer<T>
- java.lang.Object
-
- com.mycila.maven.plugin.license.dependencies.AbstractLicensePolicyEnforcer<T>
-
- Type Parameters:
T-
- All Implemented Interfaces:
LicensePolicyEnforcer<T>
- Direct Known Subclasses:
ArtifactLicensePolicyEnforcer,LicenseNameLicensePolicyEnforcer,LicenseURLLicensePolicyEnforcer
public abstract class AbstractLicensePolicyEnforcer<T> extends Object implements LicensePolicyEnforcer<T>
Base class for all policy enforcer implementations.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractLicensePolicyEnforcer(LicensePolicy policy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LicensePolicygetPolicy()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.mycila.maven.plugin.license.dependencies.LicensePolicyEnforcer
apply, getType
-
-
-
-
Constructor Detail
-
AbstractLicensePolicyEnforcer
protected AbstractLicensePolicyEnforcer(LicensePolicy policy)
-
-
Method Detail
-
getPolicy
public LicensePolicy getPolicy()
- Specified by:
getPolicyin interfaceLicensePolicyEnforcer<T>
-
-