public static class ForwardToProxyBanProcessor.Provider extends Object implements BanProcessorProvider, PlatformDependentExtension
Constructor and Description |
---|
Provider() |
Modifier and Type | Method and Description |
---|---|
@Nullable BanProcessor |
create(Adapter adapter)
Creates a BanProcessor, or returns
null if it can't be used on the current system
(missing plugin dependency, disabled in configuration, etc...) |
String |
getId() |
List<Platform> |
getPlatforms()
Get all possible platform
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPlatform
public String getId()
getId
in interface BanProcessorProvider
public @Nullable BanProcessor create(Adapter adapter)
BanProcessorProvider
null
if it can't be used on the current system
(missing plugin dependency, disabled in configuration, etc...)create
in interface BanProcessorProvider
adapter
- the actual adapter used to create processornull
if the processor can't be used on the current systempublic List<Platform> getPlatforms()
PlatformDependentExtension
getPlatforms
in interface PlatformDependentExtension