com.day.cq.workflow.exec
Interface JavaProcess

All Known Subinterfaces:
JavaProcessExt
All Known Implementing Classes:
AbstractAssetProcess, BlogSearchPingProcess, CheckSpamProcess, CreateSubAssetsProcess, CreateThumbnailProcess, DeleteAssetProcess, DeleteDamAssetProcess, ExtractMetadataProcess, SyncAssetProcess

public interface JavaProcess

JavaProcess is the interface for is used for automatic workflow steps implemented in Java. Classes implementing this interface define Java based processes that can be attached to a WorkflowNode and executed by the workflow engine.


Method Summary
 void execute(WorkItem item, WorkflowSession session)
          Deprecated.  
 

Method Detail

execute

void execute(WorkItem item,
             WorkflowSession session)
             throws Exception
Deprecated. 

Executes a new Java process with the given WorkItem and WorkflowSession.

Parameters:
item - The WorkItem that defines the newly started JavaProcess.
session - The WorkflowSession that is used for starting the JavaProcess.
Throws:
Exception - Thrown in case something goes wrong during execution.


Copyright © 2009 Day Management AG. All Rights Reserved.