public class RequireNoRepositories extends AbstractNonCacheableEnforcerRule
| Modifier and Type | Field and Description |
|---|---|
List<String> |
allowedPluginRepositories
Deprecated.
the visibility will be reduced to private with the next major version
|
List<String> |
allowedRepositories
Deprecated.
the visibility will be reduced to private with the next major version
|
boolean |
allowSnapshotPluginRepositories
Deprecated.
the visibility will be reduced to private with the next major version
|
boolean |
allowSnapshotRepositories
Deprecated.
the visibility will be reduced to private with the next major version
|
boolean |
banPluginRepositories
Deprecated.
the visibility will be reduced to private with the next major version
|
boolean |
banRepositories
Deprecated.
the visibility will be reduced to private with the next major version
|
message| Constructor and Description |
|---|
RequireNoRepositories() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(org.apache.maven.enforcer.rule.api.EnforcerRuleHelper helper) |
void |
setAllowedPluginRepositories(List<String> allowedPluginRepositories) |
void |
setAllowedRepositories(List<String> allowedRepositories) |
void |
setAllowSnapshotPluginRepositories(boolean allowSnapshotPluginRepositories) |
void |
setAllowSnapshotRepositories(boolean allowSnapshotRepositories) |
void |
setBanPluginRepositories(boolean banPluginRepositories) |
void |
setBanRepositories(boolean banRepositories) |
getCacheId, isCacheable, isResultValidgetMessage, setMessagepublic boolean banRepositories
#setBanRepositories(boolean)}public boolean banPluginRepositories
#setBanPluginRepositories(boolean)}public List<String> allowedRepositories
#setAllowedRepositories(List)}public List<String> allowedPluginRepositories
#setAllowedPluginRepositories(List)}public boolean allowSnapshotRepositories
#setAllowSnapshotRepositories(boolean)}public boolean allowSnapshotPluginRepositories
#setAllowSnapshotPluginRepositories(boolean)}public final void setBanRepositories(boolean banRepositories)
public final void setBanPluginRepositories(boolean banPluginRepositories)
public final void setAllowedPluginRepositories(List<String> allowedPluginRepositories)
public final void setAllowSnapshotRepositories(boolean allowSnapshotRepositories)
public final void setAllowSnapshotPluginRepositories(boolean allowSnapshotPluginRepositories)
public void execute(org.apache.maven.enforcer.rule.api.EnforcerRuleHelper helper)
throws org.apache.maven.enforcer.rule.api.EnforcerRuleException
org.apache.maven.enforcer.rule.api.EnforcerRuleExceptionCopyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.