public class SmartWorkflow extends AbstractWorkflow
Constructor and Description |
---|
SmartWorkflow(co.cask.cdap.etl.proto.v2.ETLBatchConfig config,
Set<String> supportedPluginTypes,
ApplicationConfigurer applicationConfigurer) |
Modifier and Type | Method and Description |
---|---|
protected void |
configure() |
void |
destroy() |
void |
initialize(WorkflowContext context) |
addAction, addMapReduce, addSpark, condition, condition, configure, createLocalDataset, createLocalDataset, createLocalDataset, createLocalDataset, fork, getConfigurer, getContext, setDescription, setName, setProperties
usePlugin, usePlugin, usePluginClass, usePluginClass
addDatasetModule, addDatasetType, addStream, addStream, createDataset, createDataset, createDataset, createDataset
public static final String NAME
public SmartWorkflow(co.cask.cdap.etl.proto.v2.ETLBatchConfig config, Set<String> supportedPluginTypes, ApplicationConfigurer applicationConfigurer)
protected void configure()
configure
in class AbstractWorkflow
public void initialize(WorkflowContext context) throws Exception
initialize
in interface ProgramLifecycle<WorkflowContext>
initialize
in class AbstractWorkflow
Exception
public void destroy()
destroy
in interface ProgramLifecycle<WorkflowContext>
destroy
in class AbstractWorkflow
Copyright © 2018 Cask Data, Inc. Licensed under the Apache License, Version 2.0.