org.dspace.xmlworkflow
Class WorkflowFactory

java.lang.Object
  extended by org.dspace.xmlworkflow.WorkflowFactory

public class WorkflowFactory
extends Object

The workflowfactory is responsible for parsing the workflow xml file and is used to retrieve the workflow for a certain collection

Author:
Bram De Schouwer (bram.deschouwer at dot com), Kevin Van de Velde (kevin at atmire dot com), Ben Bosman (ben at atmire dot com), Mark Diggory (markd at atmire dot com)

Constructor Summary
WorkflowFactory()
           
 
Method Summary
static Step createStep(Workflow workflow, String stepID)
           
static WorkflowActionConfig createWorkflowActionConfig(String actionID)
           
static Workflow getWorkflow(Collection collection)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkflowFactory

public WorkflowFactory()
Method Detail

getWorkflow

public static Workflow getWorkflow(Collection collection)
                            throws IOException,
                                   WorkflowConfigurationException
Throws:
IOException
WorkflowConfigurationException

createStep

public static Step createStep(Workflow workflow,
                              String stepID)
                       throws WorkflowConfigurationException,
                              IOException
Throws:
WorkflowConfigurationException
IOException

createWorkflowActionConfig

public static WorkflowActionConfig createWorkflowActionConfig(String actionID)


Copyright © 2012 DuraSpace. All Rights Reserved.