Search in sources :

Example 1 with WorkflowActionSpecification

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);
}
Also used : WorkflowActionSpecification(co.cask.cdap.api.workflow.WorkflowActionSpecification) WorkflowActionNode(co.cask.cdap.api.workflow.WorkflowActionNode)

Aggregations

WorkflowActionNode (co.cask.cdap.api.workflow.WorkflowActionNode)1 WorkflowActionSpecification (co.cask.cdap.api.workflow.WorkflowActionSpecification)1