public class NotifyCache<T extends NotifyType<M>,M>
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
static @NotNull java.util.regex.Pattern |
CONFIG_FORMAT |
protected M |
meta |
protected T |
type |
构造器和说明 |
---|
NotifyCache(T type,
M meta) |
限定符和类型 | 方法和说明 |
---|---|
static @Nullable NotifyCache<?,?> |
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) |
M |
getMeta() |
T |
getType() |
static @Nullable NotifyCache<?,?> |
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 public static final @NotNull java.util.regex.Pattern CONFIG_FORMAT
@NotNull protected final T extends NotifyType<M> type
@Nullable protected final M meta
@Nullable public static @Nullable NotifyCache<?,?> deserialize(@NotNull @NotNull java.lang.String config)
@Nullable public static @Nullable NotifyCache<?,?> 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> NotifyCache<T,M> of(@NotNull T type, @Nullable @Nullable java.lang.String param, @Nullable @Nullable java.lang.String content)
public static <T extends NotifyType<M>,M> NotifyCache<T,M> of(@NotNull T type, @Nullable M meta)
@NotNull public T getType()
@Nullable public M getMeta()
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.