Package org.restheart.plugins
Class PluginRecord<T extends Plugin>
- java.lang.Object
-
- org.restheart.plugins.PluginRecord<T>
-
-
Field Summary
Fields Modifier and Type Field Description static StringPLUGIN_ENABLED_KEYThe key to enable plugins
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetClassName()Map<String,Object>getConfArgs()StringgetDescription()TgetInstance()StringgetName()booleanisEnabled()static booleanisEnabled(boolean enabledByDefault, Map<String,Object> confArgs)
-
-
-
Field Detail
-
PLUGIN_ENABLED_KEY
public static final String PLUGIN_ENABLED_KEY
The key to enable plugins- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
public String getName()
- Returns:
- the name
-
getDescription
public String getDescription()
- Returns:
- the description
-
getClassName
public String getClassName()
- Returns:
- the className
-
isEnabled
public boolean isEnabled()
- Returns:
- the disabled
-
isEnabled
public static boolean isEnabled(boolean enabledByDefault, Map<String,Object> confArgs)- Parameters:
enabledByDefault-confArgs-- Returns:
- the disabled
-
getInstance
public T getInstance()
- Returns:
- the instance
-
-