Interface PermissionsExConfiguration<PlatformType>
-
- All Known Implementing Classes:
FilePermissionsExConfiguration
public interface PermissionsExConfiguration<PlatformType>
Configuration for PermissionsEx
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @Nullable ca.stellardrift.permissionsex.datastore.ProtoDataStore<?>getDataStore(String name)ca.stellardrift.permissionsex.datastore.ProtoDataStore<?>getDefaultDataStore()PlatformTypegetPlatformConfig()Get a configuration containing options only applicable to one implementation of PermissionsExList<String>getServerTags()booleanisDebugEnabled()PermissionsExConfiguration<PlatformType>reload()default voidsave()voidvalidate()
-
-
-
Method Detail
-
getDataStore
@Nullable ca.stellardrift.permissionsex.datastore.ProtoDataStore<?> getDataStore(String name)
-
getDefaultDataStore
ca.stellardrift.permissionsex.datastore.ProtoDataStore<?> getDefaultDataStore()
-
isDebugEnabled
boolean isDebugEnabled()
-
getServerTags
List<String> getServerTags()
-
validate
void validate() throws ca.stellardrift.permissionsex.exception.PEBKACException
- Throws:
ca.stellardrift.permissionsex.exception.PEBKACException
-
getPlatformConfig
PlatformType getPlatformConfig()
Get a configuration containing options only applicable to one implementation of PermissionsEx- Returns:
- The configuration object
-
reload
PermissionsExConfiguration<PlatformType> reload() throws IOException
- Throws:
IOException
-
save
default void save() throws IOException
- Throws:
IOException
-
-