Class Workflows

java.lang.Object
org.opencastproject.assetmanager.util.Workflows

public class Workflows extends Object
Utility class to apply workflows to episodes. Removed 'final class' so that we can mock it for unit tests.
  • Constructor Details

    • Workflows

      public Workflows(org.opencastproject.assetmanager.api.AssetManager am, org.opencastproject.workflow.api.WorkflowService wfs)
  • Method Details

    • applyWorkflowToLatestVersion

      public List<org.opencastproject.workflow.api.WorkflowInstance> applyWorkflowToLatestVersion(Iterable<String> mpIds, org.opencastproject.workflow.api.ConfiguredWorkflow wf)
      Apply a workflow to the latest version of each media package.