Package org.restheart.plugins
Interface ConfigurablePlugin
- All Superinterfaces:
Plugin
- All Known Subinterfaces:
Authenticator,AuthMechanism,Authorizer,BsonInterceptor,BsonService,ByteArrayInterceptor,ByteArrayService,GraphQLInterceptor,Initializer,Interceptor<R,,S> JsonInterceptor,JsonService,MongoInterceptor,Provider<T>,ProxyInterceptor,Service<R,,S> StringInterceptor,StringService,TokenManager,WildcardInterceptor
- All Known Implementing Classes:
FileConfigurablePlugin
- Author:
- Andrea Di Cesare <andrea@softinstigate.com>
-
Method Summary
-
Method Details
-
argValue
- Type Parameters:
V- return value- Parameters:
args-argKey-- Returns:
- the string arg value of argKey from args
- Throws:
ConfigurationException
-
argValueOrDefault
static <V> V argValueOrDefault(Map<String, ?> args, String argKey, V value) throws ConfigurationException- Throws:
ConfigurationException
-
arg
- Throws:
ConfigurationException
-
argOrDefault
default <V> V argOrDefault(Map<String, ?> args, String argKey, V value) throws ConfigurationException- Throws:
ConfigurationException
-