Package me.hsgamer.topper.query.core
Class QueryManager<K,V,H extends DataHolder<K,V>,A>
- java.lang.Object
-
- me.hsgamer.topper.query.core.QueryManager<K,V,H,A>
-
public abstract class QueryManager<K,V,H extends DataHolder<K,V>,A> extends Object
-
-
Constructor Summary
Constructors Constructor Description QueryManager()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description @Nullable Stringget(A actor, String query)protected abstract Optional<H>getHolder(String name)protected voidregisterAction(String name, QueryAction<K,V,H,A> action)protected voidregisterActorFunction(String name, BiFunction<@NotNull A,@NotNull H,@Nullable String> function)protected voidregisterFunction(String name, BiFunction<@NotNull H,@NotNull String,@Nullable String> function)
-
-
-
Method Detail
-
registerFunction
protected void registerFunction(String name, BiFunction<@NotNull H,@NotNull String,@Nullable String> function)
-
registerActorFunction
protected void registerActorFunction(String name, BiFunction<@NotNull A,@NotNull H,@Nullable String> function)
-
-