use of co.cask.cdap.api.workflow.WorkflowActionSpecification in project cdap by caskdata.
the class WorkflowNodeCreator method createWorkflowCustomActionNode.
@Deprecated
static WorkflowNode createWorkflowCustomActionNode(WorkflowAction action) {
Preconditions.checkArgument(action != null, "WorkflowAction is null.");
WorkflowActionSpecification spec = DefaultWorkflowActionConfigurer.configureAction(action);
return new WorkflowActionNode(spec.getName(), spec);
}
Aggregations