@Beta public abstract class PostAction extends Object implements PipelineConfigurable
Modifier and Type | Field and Description |
---|---|
static String |
PLUGIN_TYPE |
Constructor and Description |
---|
PostAction() |
Modifier and Type | Method and Description |
---|---|
void |
configurePipeline(PipelineConfigurer pipelineConfigurer)
Configure the pipeline.
|
abstract void |
run(BatchActionContext context)
Run the action.
|
public static final String PLUGIN_TYPE
public void configurePipeline(PipelineConfigurer pipelineConfigurer)
configurePipeline
in interface PipelineConfigurable
pipelineConfigurer
- the configurer used to add required datasets and streamspublic abstract void run(BatchActionContext context) throws Exception
context
- the action context, containing information about the pipeline runException
- if there was an error running the ending actionCopyright © 2021 Cask Data, Inc. Licensed under the Apache License, Version 2.0.