public interface TriggerAction extends Closeable
Modifier and Type | Method and Description |
---|---|
void |
configure(SolrResourceLoader loader,
SolrCloudManager cloudManager,
Map<String,Object> properties)
Called when action is created but before it's initialized and used.
|
String |
getName() |
void |
init()
Called before an action is first used.
|
void |
process(TriggerEvent event,
ActionContext context) |
void configure(SolrResourceLoader loader, SolrCloudManager cloudManager, Map<String,Object> properties) throws TriggerValidationException
loader
- loader to use for instantiating sub-componentscloudManager
- current instance of SolrCloudManagerproperties
- configuration propertiesTriggerValidationException
- contains details of invalid configuration parameters.void init() throws Exception
configure(SolrResourceLoader, SolrCloudManager, Map)
method.Exception
String getName()
void process(TriggerEvent event, ActionContext context) throws Exception
Exception
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.