Class PEXCommandPreprocessor
- java.lang.Object
-
- ca.stellardrift.permissionsex.minecraft.command.PEXCommandPreprocessor
-
- All Implemented Interfaces:
cloud.commandframework.execution.preprocessor.CommandPreprocessor<Commander>,cloud.commandframework.services.types.ConsumerService<cloud.commandframework.execution.preprocessor.CommandPreprocessingContext<Commander>>,cloud.commandframework.services.types.Service<cloud.commandframework.execution.preprocessor.CommandPreprocessingContext<Commander>,cloud.commandframework.services.State>,cloud.commandframework.services.types.SideEffectService<cloud.commandframework.execution.preprocessor.CommandPreprocessingContext<Commander>>,Consumer<cloud.commandframework.execution.preprocessor.CommandPreprocessingContext<Commander>>,Function<cloud.commandframework.execution.preprocessor.CommandPreprocessingContext<Commander>,cloud.commandframework.services.State>
public class PEXCommandPreprocessor extends Object implements cloud.commandframework.execution.preprocessor.CommandPreprocessor<Commander>
-
-
Field Summary
Fields Modifier and Type Field Description static cloud.commandframework.keys.CloudKey<ca.stellardrift.permissionsex.PermissionsEngine>PEX_ENGINEstatic cloud.commandframework.keys.CloudKey<MinecraftPermissionsEx<?>>PEX_MANAGER
-
Constructor Summary
Constructors Constructor Description PEXCommandPreprocessor(MinecraftPermissionsEx<?> manager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(@NonNull cloud.commandframework.execution.preprocessor.CommandPreprocessingContext<Commander> ctx)
-
-
-
Field Detail
-
PEX_MANAGER
public static final cloud.commandframework.keys.CloudKey<MinecraftPermissionsEx<?>> PEX_MANAGER
-
PEX_ENGINE
public static final cloud.commandframework.keys.CloudKey<ca.stellardrift.permissionsex.PermissionsEngine> PEX_ENGINE
-
-
Constructor Detail
-
PEXCommandPreprocessor
public PEXCommandPreprocessor(MinecraftPermissionsEx<?> manager)
-
-
Method Detail
-
accept
public void accept(@NonNull cloud.commandframework.execution.preprocessor.CommandPreprocessingContext<Commander> ctx)
- Specified by:
acceptin interfaceConsumer<cloud.commandframework.execution.preprocessor.CommandPreprocessingContext<Commander>>- Specified by:
acceptin interfacecloud.commandframework.services.types.ConsumerService<cloud.commandframework.execution.preprocessor.CommandPreprocessingContext<Commander>>
-
-