public static enum ResolveResult.Source extends Enum<ResolveResult.Source>
Enum Constant and Description |
---|
CURSE_FORGE
|
DEV_BUKKIT
|
DIRECT
直リンク
|
GITHUB
GitHub
|
LOCAL_KNOWN
ローカルの既知プラグイン
|
SPIGOT_MC
|
UNKNOWN
不明
|
Modifier and Type | Method and Description |
---|---|
static ResolveResult.Source |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResolveResult.Source[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResolveResult.Source GITHUB
public static final ResolveResult.Source SPIGOT_MC
public static final ResolveResult.Source DEV_BUKKIT
public static final ResolveResult.Source CURSE_FORGE
public static final ResolveResult.Source LOCAL_KNOWN
public static final ResolveResult.Source DIRECT
public static final ResolveResult.Source UNKNOWN
public static ResolveResult.Source[] values()
for (ResolveResult.Source c : ResolveResult.Source.values()) System.out.println(c);
public static ResolveResult.Source 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 nullCopyright © 2023. All rights reserved.