public class ExecutePlanAction extends TriggerActionBase
ActionContext's properties
with the key name "operations".| Modifier and Type | Field and Description |
|---|---|
static String |
TASK_TIMEOUT_FAIL |
static String |
TASK_TIMEOUT_SECONDS |
cloudManager, loader, properties, requiredProperties, validProperties| Constructor and Description |
|---|
ExecutePlanAction() |
| 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.
|
void |
process(TriggerEvent event,
ActionContext context) |
close, getName, initpublic static final String TASK_TIMEOUT_SECONDS
public static final String TASK_TIMEOUT_FAIL
public void configure(SolrResourceLoader loader, SolrCloudManager cloudManager, Map<String,Object> properties) throws TriggerValidationException
TriggerActionconfigure in interface TriggerActionconfigure in class TriggerActionBaseloader - loader to use for instantiating sub-componentscloudManager - current instance of SolrCloudManagerproperties - configuration propertiesTriggerValidationException - contains details of invalid configuration parameters.public void process(TriggerEvent event, ActionContext context) throws Exception
ExceptionCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.