public enum AcceptAllFilter extends Enum<AcceptAllFilter> implements MavenResolutionFilter
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(MavenDependency element) |
MavenResolutionFilter |
configure(Collection<MavenDependency> dependencies) |
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.
|
public static final AcceptAllFilter INSTANCE
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 nameNullPointerException - if the argument is nullpublic MavenResolutionFilter configure(Collection<MavenDependency> dependencies)
configure in interface MavenResolutionFilterpublic boolean accept(MavenDependency element)
accept in interface DependencyResolutionFilter<MavenResolutionFilter,MavenDependency>accept in interface MavenResolutionFilterCopyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.