public enum ImportType extends Enum<ImportType> implements Displayable
| Enum Constant and Description |
|---|
NATIVE
The native import type.
|
STANDARD
The standard import type.
|
STATIC
The static import type.
|
| Modifier and Type | Field and Description |
|---|---|
static Set<ImportType> |
IMPORT_TYPES
The Set containing all import types which are available.
|
| Modifier and Type | Method and Description |
|---|---|
Display |
getDisplayOption()
Gets the value of
displayOption. |
boolean |
isDisplayable(Set<Display> displayOptions)
Tells if the dependency has to be displayed following the passed display options.
|
static ImportType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImportType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImportType NATIVE
public static final ImportType STANDARD
public static final ImportType STATIC
public static final Set<ImportType> IMPORT_TYPES
public static ImportType[] values()
for (ImportType c : ImportType.values()) System.out.println(c);
public static ImportType 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 Display getDisplayOption()
displayOption.displayOption.public boolean isDisplayable(Set<Display> displayOptions)
isDisplayable in interface DisplayabledisplayOptions - the Set of display options, mustn't be null, if empty, this
method always returns false.true if the dependency has to be displayed, false
otherwise.Copyright © 2014 Sourceforge. All rights reserved.