public enum GeneralDependencies extends Enum<GeneralDependencies>
Enum Constant and Description |
---|
ADVANCEMENT_CREATOR |
ASM |
ASM_ANALYSIS |
ASM_COMMONS |
ASM_TREE |
ASM_UTIL |
COMMODORE |
DISCORDJ4 |
GUAVA |
GUICE |
JAVACORD |
JDA |
JEDIS |
MARIADB_JAVA_CLIENT |
MONGO_JAVA_DRIVER |
MONGO_MORPHIA |
Modifier and Type | Method and Description |
---|---|
void |
append(LibraryInjector injector)
Adds to download the specified dependency in the specified
LibraryInjector |
Dependency |
asDependency()
Returns the credentials as a
Dependency object. |
static GeneralDependencies |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GeneralDependencies[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GeneralDependencies MONGO_JAVA_DRIVER
public static final GeneralDependencies MONGO_MORPHIA
public static final GeneralDependencies MARIADB_JAVA_CLIENT
public static final GeneralDependencies JEDIS
public static final GeneralDependencies JDA
public static final GeneralDependencies JAVACORD
public static final GeneralDependencies DISCORDJ4
public static final GeneralDependencies GUICE
public static final GeneralDependencies GUAVA
public static final GeneralDependencies ASM
public static final GeneralDependencies ASM_ANALYSIS
public static final GeneralDependencies ASM_COMMONS
public static final GeneralDependencies ASM_TREE
public static final GeneralDependencies ASM_UTIL
public static final GeneralDependencies COMMODORE
public static final GeneralDependencies ADVANCEMENT_CREATOR
public static GeneralDependencies[] values()
for (GeneralDependencies c : GeneralDependencies.values()) System.out.println(c);
public static GeneralDependencies 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 Dependency asDependency()
Dependency
object.public void append(LibraryInjector injector)
LibraryInjector
injector
- the injector you want the dependency to be addedCopyright © 2019. All rights reserved.