Class WorkflowUtil

java.lang.Object
org.opencastproject.workflow.api.WorkflowUtil

public final class WorkflowUtil extends Object
  • Method Details

    • isActive

      @Deprecated public static boolean isActive(WorkflowInstance.WorkflowState workflowState)
      Deprecated.
      Checks to see whether a given workflow state is active.
      Parameters:
      workflowState - The workflow state to check.
      Returns:
      True if the workflow is currently active, not stopped or failed.
    • isActive

      public static boolean isActive(String workflowState)
      Checks to see whether a given workflow state is active.
      Parameters:
      workflowState - The workflow state to check.
      Returns:
      True if the workflow is currently active, not stopped or failed.