co.cask.cdap.test
Interface WorkflowManager


public interface WorkflowManager

Workflow manager interface for managing the workflow and its schedules


Method Summary
 List<co.cask.cdap.proto.RunRecord> getHistory()
          Get the history of the workflow
 ScheduleManager getSchedule(String scheduleId)
          Get the ScheduleManager instance to manage the schedule
 List<String> getSchedules()
          Get the list of schedules of the workflow
 

Method Detail

getSchedules

List<String> getSchedules()
Get the list of schedules of the workflow

Returns:
List of Schedule Ids.

getSchedule

ScheduleManager getSchedule(String scheduleId)
Get the ScheduleManager instance to manage the schedule

Parameters:
scheduleId - of the workflow to retrieve
Returns:
ScheduleManager instance to manage the schedule identified by scheduleId

getHistory

List<co.cask.cdap.proto.RunRecord> getHistory()
Get the history of the workflow

Returns:
list of RunRecord workflow history


Copyright © 2015 Cask Data, Inc. Licensed under the Apache License, Version 2.0.