public class NotifyConfig
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
protected @NotNull NotifyCache<?,?> |
cache |
构造器和说明 |
---|
NotifyConfig(@NotNull NotifyCache<?,?> cache) |
限定符和类型 | 方法和说明 |
---|---|
static @Nullable NotifyConfig |
deserialize(@NotNull java.lang.String config) |
void |
execute(@NotNull org.bukkit.entity.Player player,
@NotNull java.util.Map<java.lang.String,java.lang.Object> placeholders) |
@NotNull NotifyCache<?,?> |
getCache() |
static @NotNull NotifyConfig |
of(@NotNull NotifyCache<?,?> cache) |
static @Nullable NotifyConfig |
of(@NotNull java.lang.String key,
@Nullable java.lang.String param,
@Nullable java.lang.String content) |
static <T extends NotifyType<M>,M> |
of(T type,
M meta) |
static <T extends NotifyType<M>,M> |
of(T type,
@Nullable java.lang.String param,
@Nullable java.lang.String content) |
java.lang.String |
serialize() |
@NotNull protected final @NotNull NotifyCache<?,?> cache
public NotifyConfig(@NotNull @NotNull NotifyCache<?,?> cache)
@Nullable public static @Nullable NotifyConfig deserialize(@NotNull @NotNull java.lang.String config)
@NotNull public static @NotNull NotifyConfig of(@NotNull @NotNull NotifyCache<?,?> cache)
@Nullable public static @Nullable NotifyConfig of(@NotNull @NotNull java.lang.String key, @Nullable @Nullable java.lang.String param, @Nullable @Nullable java.lang.String content)
public static <T extends NotifyType<M>,M> NotifyConfig of(@NotNull T type, @Nullable @Nullable java.lang.String param, @Nullable @Nullable java.lang.String content)
public static <T extends NotifyType<M>,M> NotifyConfig of(@NotNull T type, @Nullable M meta)
@NotNull public @NotNull NotifyCache<?,?> getCache()
public void execute(@NotNull @NotNull org.bukkit.entity.Player player, @NotNull @NotNull java.util.Map<java.lang.String,java.lang.Object> placeholders)
public java.lang.String serialize()
Copyright © 2024. All rights reserved.