|
ShrinkWrap Resolver Aggregator 1.1.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.api.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 |
accept(MavenDependency element)
Accepts element of type E |
MavenResolutionFilter |
configure(Collection<MavenDependency> dependencies)
Passed the current MavenDependencyResolver configuration to the filter to allow it do some advanced filtering |
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 nullpublic MavenResolutionFilter configure(Collection<MavenDependency> dependencies)
MavenResolutionFilterMavenDependencyResolver configuration to the filter to allow it do some advanced filtering
configure in interface MavenResolutionFilterdependencies - The dependencies to be set to the filter
public boolean accept(MavenDependency element)
DependencyResolutionFilter
accept in interface DependencyResolutionFilter<MavenResolutionFilter,MavenDependency>accept in interface MavenResolutionFilterelement - the element
true if accepted by the filter, false otherwise
|
ShrinkWrap Resolver Aggregator 1.1.0-alpha-2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||