public static enum CodeSourceStorage.Location extends Enum<CodeSourceStorage.Location>
Modifier and Type | Method and Description |
---|---|
File[] |
getDirectories() |
void |
setDirectory(File... directory) |
static CodeSourceStorage.Location |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CodeSourceStorage.Location[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CodeSourceStorage.Location OFFICIAL
public static final CodeSourceStorage.Location COMMUNITY
public static final CodeSourceStorage.Location ALL
protected File[] directory
public static CodeSourceStorage.Location[] values()
for (CodeSourceStorage.Location c : CodeSourceStorage.Location.values()) System.out.println(c);
public static CodeSourceStorage.Location 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 File[] getDirectories()
public void setDirectory(File... directory)
Copyright © 1999–2020 CodeLutin. All rights reserved.