public enum AcceptAllStrategy extends Enum<AcceptAllStrategy> implements MavenResolutionStrategy
MavenResolutionStrategy implementation where all MavenDependencys are accepted| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
MavenResolutionFilter[] |
getResolutionFilters()
Returns a
MavenResolutionFilter chain allowing all MavenDependencys to pass-through. |
TransitiveExclusionPolicy |
getTransitiveExclusionPolicy()
Defines how transitive dependencies are filtered during the resolution request.
|
static AcceptAllStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AcceptAllStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AcceptAllStrategy INSTANCE
public static AcceptAllStrategy[] values()
for (AcceptAllStrategy c : AcceptAllStrategy.values()) System.out.println(c);
public static AcceptAllStrategy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic MavenResolutionFilter[] getResolutionFilters()
MavenResolutionFilter chain allowing all MavenDependencys to pass-through.getResolutionFilters in interface MavenResolutionStrategyMavenResolutionFilter chain to be used in filtering.MavenResolutionStrategy.getResolutionFilters()public TransitiveExclusionPolicy getTransitiveExclusionPolicy()
DefaultTransitiveExclusionPolicy.INSTANCE implementation.getTransitiveExclusionPolicy in interface MavenResolutionStrategyTransitiveExclusionPolicy, never nullMavenResolutionStrategy.getTransitiveExclusionPolicy()Copyright © 2017 JBoss by Red Hat. All rights reserved.