public abstract class AbstractPlaceholderManager extends AbstractJavascriptBasedManager implements KeyValueManager<Placeholder>
Modifier and Type | Class and Description |
---|---|
static class |
AbstractPlaceholderManager.JSPlaceholder |
Modifier and Type | Field and Description |
---|---|
protected Map<String,Placeholder> |
jsPlaceholders |
instance, sem
Constructor and Description |
---|
AbstractPlaceholderManager(TriggerReactorCore plugin) |
Modifier and Type | Method and Description |
---|---|
boolean |
containsKey(Object key) |
Set<Map.Entry<String,Placeholder>> |
entrySet() |
Placeholder |
get(Object key) |
Map<String,Placeholder> |
getBackedMap()
Get map directly associated with this manager.
|
protected void |
reloadPlaceholders(File file,
FileFilter filter) |
initScriptEngine
disable, getManagers, reload, saveAll
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getNashornEngine, registerClass, registerClass
protected Map<String,Placeholder> jsPlaceholders
public AbstractPlaceholderManager(TriggerReactorCore plugin) throws ScriptException
ScriptException
protected void reloadPlaceholders(File file, FileFilter filter) throws ScriptException, IOException
ScriptException
IOException
public Placeholder get(Object key)
get
in interface KeyValueManager<Placeholder>
public boolean containsKey(Object key)
containsKey
in interface KeyValueManager<Placeholder>
public Set<Map.Entry<String,Placeholder>> entrySet()
entrySet
in interface KeyValueManager<Placeholder>
public Map<String,Placeholder> getBackedMap()
KeyValueManager
getBackedMap
in interface KeyValueManager<Placeholder>