Package co.cask.cdap.internal.workflow

Examples of co.cask.cdap.internal.workflow.DefaultWorkflowActionSpecification


      return this;
    }

    @Override
    public WorkflowActionSpecification build() {
      return new DefaultWorkflowActionSpecification(name, description, options);
    }
View Full Code Here


      }

      @Override
      public MoreAction<T> startWith(WorkflowAction action) {
        Preconditions.checkArgument(action != null, "WorkflowAction is null.");
        builder.actions.add(new DefaultWorkflowActionSpecification(action));
        return new MoreActionImpl<T>(builder, next);
      }
View Full Code Here

      }

      @Override
      public T onlyWith(WorkflowAction action) {
        Preconditions.checkArgument(action != null, "WorkflowAction is null.");
        builder.actions.add(new DefaultWorkflowActionSpecification(action));
        return next;
      }
View Full Code Here

      }

      @Override
      public MoreAction<T> then(WorkflowAction action) {
        Preconditions.checkArgument(action != null, "WorkflowAction is null.");
        builder.actions.add(new DefaultWorkflowActionSpecification(action));
        return this;
      }
View Full Code Here

    String className = jsonObj.get("className").getAsString();
    String name = jsonObj.get("name").getAsString();
    String description = jsonObj.get("description").getAsString();
    Map<String, String> properties = deserializeMap(jsonObj.get("properties"), context, String.class);

    return new DefaultWorkflowActionSpecification(className, name, description, properties);
  }
View Full Code Here

TOP

Related Classes of co.cask.cdap.internal.workflow.DefaultWorkflowActionSpecification

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.