Class ArtifactLicensePolicyEnforcer
- java.lang.Object
-
- com.mycila.maven.plugin.license.dependencies.AbstractLicensePolicyEnforcer<org.apache.maven.artifact.Artifact>
-
- com.mycila.maven.plugin.license.dependencies.ArtifactLicensePolicyEnforcer
-
- All Implemented Interfaces:
LicensePolicyEnforcer<org.apache.maven.artifact.Artifact>
- Direct Known Subclasses:
DefaultLicensePolicyEnforcer
public class ArtifactLicensePolicyEnforcer extends AbstractLicensePolicyEnforcer<org.apache.maven.artifact.Artifact>
Make policy decisions on aArtifactbased on anArtifactFilter.
-
-
Constructor Summary
Constructors Constructor Description ArtifactLicensePolicyEnforcer(LicensePolicy policy)ArtifactLicensePolicyEnforcer(LicensePolicy policy, org.apache.maven.artifact.resolver.filter.ArtifactFilter filter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanapply(org.apache.maven.artifact.Artifact target)Class<?>getType()-
Methods inherited from class com.mycila.maven.plugin.license.dependencies.AbstractLicensePolicyEnforcer
getPolicy
-
-
-
-
Constructor Detail
-
ArtifactLicensePolicyEnforcer
public ArtifactLicensePolicyEnforcer(LicensePolicy policy, org.apache.maven.artifact.resolver.filter.ArtifactFilter filter)
-
ArtifactLicensePolicyEnforcer
public ArtifactLicensePolicyEnforcer(LicensePolicy policy)
-
-
Method Detail
-
apply
public boolean apply(org.apache.maven.artifact.Artifact target)
-
getType
public Class<?> getType()
-
-