public enum ClasspathScope extends Enum<ClasspathScope>
Enum Constant and Description |
---|
compile |
none |
provided |
runtime |
test |
Modifier and Type | Method and Description |
---|---|
boolean |
matches(ClasspathScope scope) |
boolean |
matches(String scope) |
static ClasspathScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClasspathScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClasspathScope none
public static final ClasspathScope provided
public static final ClasspathScope compile
public static final ClasspathScope runtime
public static final ClasspathScope test
public static ClasspathScope[] values()
for (ClasspathScope c : ClasspathScope.values()) System.out.println(c);
public static ClasspathScope 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 boolean matches(String scope)
public boolean matches(ClasspathScope scope)
Copyright © 2006–2019. All rights reserved.