Package me.hsgamer.topper.query.simple
Class SimpleQueryContext
java.lang.Object
me.hsgamer.topper.query.simple.SimpleQueryContext
- All Implemented Interfaces:
SimpleQuery.Context
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSimpleQueryContext
(@NotNull String name, @NotNull String args, @NotNull String actionName) -
Method Summary
Modifier and TypeMethodDescriptionstatic Optional
<SimpleQueryContext> static Optional
<SimpleQueryContext> @NotNull String
-
Field Details
-
name
-
args
-
-
Constructor Details
-
SimpleQueryContext
-
-
Method Details
-
fromQuery
public static Optional<SimpleQueryContext> fromQuery(@NotNull @NotNull String query, boolean singleName, @NotNull @NotNull String separator) -
fromQuery
public static Optional<SimpleQueryContext> fromQuery(@NotNull @NotNull String query, boolean singleName) -
getActionName
- Specified by:
getActionName
in interfaceSimpleQuery.Context
-