|
ShrinkWrap Resolver Maven Implementation 2.0.0-alpha-2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<AcceptAllFilter>
org.jboss.shrinkwrap.resolver.impl.maven.filter.AcceptAllFilter
public enum AcceptAllFilter
A filter which accept all dependencies. This is the default behavior is no other filter is specified.
| Enum Constant Summary | |
|---|---|
INSTANCE
|
|
| Method Summary | |
|---|---|
boolean |
accepts(MavenDependency coordinate)
|
MavenResolutionFilterInternalView |
setDefinedDependencies(List<MavenDependency> dependencies)
Sets the MavenDependency elements defined by the user (does not include those obtained via
transitive resolution), returning this reference. |
MavenResolutionFilterInternalView |
setDefinedDependencyManagement(List<MavenDependency> dependencyManagement)
Sets the MavenDependency elements in dependencyManagement (ie. |
static AcceptAllFilter |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AcceptAllFilter[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final AcceptAllFilter INSTANCE
| Method Detail |
|---|
public static AcceptAllFilter[] values()
for (AcceptAllFilter c : AcceptAllFilter.values()) System.out.println(c);
public static AcceptAllFilter valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
public boolean accepts(MavenDependency coordinate)
throws IllegalArgumentException
accepts in interface org.jboss.shrinkwrap.resolver.api.ResolutionFilter<MavenDependency>IllegalArgumentExceptionpublic MavenResolutionFilterInternalView setDefinedDependencies(List<MavenDependency> dependencies)
MavenResolutionFilterInternalViewMavenDependency elements defined by the user (does not include those obtained via
transitive resolution), returning this reference.
setDefinedDependencies in interface MavenResolutionFilterInternalViewpublic MavenResolutionFilterInternalView setDefinedDependencyManagement(List<MavenDependency> dependencyManagement)
MavenResolutionFilterInternalViewMavenDependency elements in dependencyManagement (ie. versioning metadata)
defined by the user, returning this reference.
setDefinedDependencyManagement in interface MavenResolutionFilterInternalView
|
ShrinkWrap Resolver Maven Implementation 2.0.0-alpha-2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||