public class WorkflowBackedActionContext extends AbstractBatchContext implements BatchActionContext
BatchActionContext within a CDAP workflow.| Constructor and Description |
|---|
WorkflowBackedActionContext(WorkflowContext workflowContext,
Metrics metrics,
LookupProvider lookup,
String stageName,
long logicalStartTime,
Map<String,String> runtimeArgs) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
getHadoopJob() |
Map<String,WorkflowNodeState> |
getNodeStates() |
WorkflowToken |
getToken() |
boolean |
isSuccessful() |
createDataset, datasetExists, discardDataset, getDataset, getDataset, getDataset, getDataset, getLogicalStartTime, getRuntimeArguments, releaseDataset, setRuntimeArgumentprovidegetMetrics, getPluginProperties, getPluginProperties, getStageName, loadPluginClass, newPluginInstanceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLogicalStartTime, getRuntimeArgumentsdiscardDataset, getDataset, getDataset, getDataset, getDataset, releaseDatasetgetMetrics, getPluginProperties, getPluginProperties, getStageName, loadPluginClass, newPluginInstanceprovidepublic WorkflowBackedActionContext(WorkflowContext workflowContext, Metrics metrics, LookupProvider lookup, String stageName, long logicalStartTime, Map<String,String> runtimeArgs)
public WorkflowToken getToken()
getToken in interface BatchActionContextpublic Map<String,WorkflowNodeState> getNodeStates()
getNodeStates in interface BatchActionContextpublic boolean isSuccessful()
isSuccessful in interface BatchActionContextpublic <T> T getHadoopJob()
getHadoopJob in interface BatchContextgetHadoopJob in interface BatchRuntimeContextCopyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.