public enum AcceptAllStrategy extends Enum<AcceptAllStrategy> implements MavenResolutionStrategy
MavenResolutionStrategy
implementation where all MavenDependency
s are acceptedEnum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
MavenResolutionFilter[] |
getResolutionFilters()
Returns a
MavenResolutionFilter chain allowing all MavenDependency s 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 MavenDependency
s to pass-through.getResolutionFilters
in interface MavenResolutionStrategy
MavenResolutionFilter
chain to be used in filtering.MavenResolutionStrategy.getResolutionFilters()
public TransitiveExclusionPolicy getTransitiveExclusionPolicy()
DefaultTransitiveExclusionPolicy.INSTANCE
implementation.getTransitiveExclusionPolicy
in interface MavenResolutionStrategy
TransitiveExclusionPolicy
, never nullMavenResolutionStrategy.getTransitiveExclusionPolicy()
Copyright © 2021 JBoss by Red Hat. All rights reserved.