public interface RunnerPlugin
AbstractRunnerPlugin
.Modifier and Type | Method and Description |
---|---|
void |
destroy(javax.jcr.Session session)
Shutdown hook
|
boolean |
getBooleanConfigValue(String key,
boolean defaultValue)
Get an boolean value from the embedded
RunnerPluginConfig |
String |
getConfigValue(String key)
Get a value from the embedded
RunnerPluginConfig |
String |
getConfigValue(String key,
String defaultValue)
Get a value from the embedded
RunnerPluginConfig |
String |
getId()
Get the id of the plugin
|
int |
getIntConfigValue(String key,
int defaultValue)
Get an int value from the embedded
RunnerPluginConfig |
long |
getLongConfigValue(String key,
long defaultValue)
Get a long value from the embedded
RunnerPluginConfig |
void |
init(javax.jcr.Session session)
Initialization hook
|
void |
setConfig(RunnerPluginConfig config)
Get the name of the plugin
|
void |
setId(String id)
Get the id of the plugin
|
void |
visit(javax.jcr.Node node)
Called when visiting the node
|
String getId()
void setId(String id)
void setConfig(RunnerPluginConfig config)
String getConfigValue(String key)
RunnerPluginConfig
key
- the name of the keyString getConfigValue(String key, String defaultValue)
RunnerPluginConfig
key
- the name of the keydefaultValue
- the default valueboolean getBooleanConfigValue(String key, boolean defaultValue)
RunnerPluginConfig
key
- the name of the keydefaultValue
- the default valueint getIntConfigValue(String key, int defaultValue)
RunnerPluginConfig
key
- the name of the keydefaultValue
- the default valuelong getLongConfigValue(String key, long defaultValue)
RunnerPluginConfig
key
- the name of the keydefaultValue
- the default valuevoid init(javax.jcr.Session session)
session
- The jcr sessionvoid destroy(javax.jcr.Session session)
session
- The jcr sessionvoid visit(javax.jcr.Node node)
node
- The current JCR node to visitCopyright © 2007–2018 Hippo. All rights reserved.