it.eng.spago.workflow.shark.impl
Class SharkWorkflowProcessImpl

java.lang.Object
  extended by it.eng.spago.workflow.shark.impl.SharkWorkflowProcessImpl

public class SharkWorkflowProcessImpl
extends java.lang.Object

Author:
zoppello This class is the implementation of IWorkflowProcess for Shark workflow Engine

Constructor Summary
SharkWorkflowProcessImpl(WfProcess aWfProcess)
          Constructor.
 
Method Summary
 void abort()
           
 java.util.Map getContext()
           
 java.lang.String getDescription()
           
 java.lang.String getId()
           
 java.lang.String getName()
           
 java.lang.String getState()
           
 boolean isClosed()
           
 void setContext(java.util.Map pContext)
           
 void start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SharkWorkflowProcessImpl

public SharkWorkflowProcessImpl(WfProcess aWfProcess)
Constructor. The SharkWorkflowProcessImpl need the internal shark object

Parameters:
aWfProcess - the process in shark
Method Detail

getId

public java.lang.String getId()
                       throws WorkflowEngineException
Throws:
WorkflowEngineException
See Also:
it.eng.spago.workflow.api.IWorkflowProcess#getId()

getName

public java.lang.String getName()
                         throws WorkflowEngineException
Throws:
WorkflowEngineException
See Also:
it.eng.spago.workflow.api.IWorkflowProcess#getName()

getDescription

public java.lang.String getDescription()
                                throws WorkflowEngineException
Throws:
WorkflowEngineException
See Also:
it.eng.spago.workflow.api.IWorkflowProcess#getDescription()

start

public void start()
           throws WorkflowEngineException
Throws:
WorkflowEngineException
See Also:
it.eng.spago.workflow.api.IWorkflowProcess#start()

abort

public void abort()
           throws WorkflowEngineException
Throws:
WorkflowEngineException
See Also:
it.eng.spago.workflow.api.IWorkflowProcess#abort()

getContext

public java.util.Map getContext()
                         throws WorkflowEngineException
Throws:
WorkflowEngineException
See Also:
it.eng.spago.workflow.api.IWorkflowProcess#getContext()

setContext

public void setContext(java.util.Map pContext)
                throws WorkflowEngineException
Throws:
WorkflowEngineException
See Also:
it.eng.spago.workflow.api.IWorkflowProcess#setContext(java.util.Map)

isClosed

public boolean isClosed()
                 throws WorkflowEngineException
Throws:
WorkflowEngineException
See Also:
it.eng.spago.workflow.api.IWorkflowProcess#isClosed()

getState

public java.lang.String getState()
                          throws WorkflowEngineException
Throws:
WorkflowEngineException
See Also:
it.eng.spago.workflow.api.IWorkflowProcess#getState()