Class DistributionManagementCheck
- java.lang.Object
-
- org.apache.maven.plugins.enforcer.utils.DistributionManagementCheck
-
public class DistributionManagementCheck extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private org.apache.maven.model.DistributionManagementdistributionManagement
-
Constructor Summary
Constructors Constructor Description DistributionManagementCheck(org.apache.maven.project.MavenProject project)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(boolean isAllowRepository, boolean isAllowSnapshotRepository, boolean isAllowSite)org.apache.maven.model.DistributionManagementgetDistributionManagement()private booleanhasDistributionManagement()private booleanhasRepository()private booleanhasSite()private booleanhasSnapshotRepository()voidsetDistributionManagement(org.apache.maven.model.DistributionManagement distributionManagement)
-
-
-
Method Detail
-
execute
public void execute(boolean isAllowRepository, boolean isAllowSnapshotRepository, boolean isAllowSite) throws EnforcerRuleException- Throws:
EnforcerRuleException
-
hasRepository
private boolean hasRepository()
-
getDistributionManagement
public org.apache.maven.model.DistributionManagement getDistributionManagement()
-
setDistributionManagement
public void setDistributionManagement(org.apache.maven.model.DistributionManagement distributionManagement)
-
hasSnapshotRepository
private boolean hasSnapshotRepository()
-
hasSite
private boolean hasSite()
-
hasDistributionManagement
private boolean hasDistributionManagement()
-
-