eu.planets_project.ifr.core.wee.api.workflow
Interface WorkflowInstance

All Superinterfaces:
java.io.Serializable

public interface WorkflowInstance
extends java.io.Serializable

Since:
30.10.2008 The representation of a WEE workflow i.e. a workflow template (=structure) + Planets Digital Objects (=payload)

Method Summary
 WorkflowResult execute(DigitalObject digo)
           
 WorkflowResult finalizeExecution()
           
 java.util.List<DigitalObject> getData()
           
 java.util.UUID getWorkflowID()
          A unique processing number of this instance which is used by the workflow execution engine Different WorkflowInstances of e.g.
 WorkflowTemplate getWorkflowTemplate()
           
 WorkflowResult initializeExecution()
           
 

Method Detail

getWorkflowID

java.util.UUID getWorkflowID()
A unique processing number of this instance which is used by the workflow execution engine Different WorkflowInstances of e.g. the same WorkflowTemplate created by the WorkflowFactory have different UUIDs assigned.

Returns:

getWorkflowTemplate

WorkflowTemplate getWorkflowTemplate()

getData

java.util.List<DigitalObject> getData()

initializeExecution

WorkflowResult initializeExecution()

execute

WorkflowResult execute(DigitalObject digo)

finalizeExecution

WorkflowResult finalizeExecution()


Copyright © 2007-2010 The Planets Consortium. All Rights Reserved.