org.ow2.orchestra.facade.runtime
Interface ActivityInstance

All Superinterfaces:
Record, RuntimeRecord, Serializable
All Known Subinterfaces:
ActivityWithChildrenInstance, ActivityWithSingleChildInstance, AssignActivityInstance, CatchActivityInstance, CatchAllActivityInstance, CompensateActivityInstance, CompensateScopeActivityInstance, CompensationHandlerActivityInstance, EmptyActivityInstance, ExitActivityInstance, FlowActivityInstance, ForeachActivityInstance, IfActivityInstance, InvokeActivityInstance, PickActivityInstance, ProcessInstance, ReceiveActivityInstance, RepeatUntilActivityInstance, ReplyActivityInstance, RethrowActivityInstance, ScopeActivityInstance, SequenceActivityInstance, TerminationHandlerActivityInstance, ThrowActivityInstance, WaitActivityInstance, WhileActivityInstance
All Known Implementing Classes:
ActivityInstanceImpl, ActivityWithChildrenInstanceImpl, ActivityWithSingleChildInstanceImpl, AssignActivityInstanceImpl, CatchActivityInstanceImpl, CatchAllActivityInstanceImpl, CompensateActivityInstanceImpl, CompensateScopeActivityInstanceImpl, CompensationHandlerActivityInstanceImpl, EmptyActivityInstanceImpl, ExitActivityInstanceImpl, FlowActivityInstanceImpl, ForeachActivityInstanceImpl, IfActivityInstanceImpl, InvokeActivityInstanceImpl, PickActivityInstanceImpl, ProcessInstanceImpl, ReceiveActivityInstanceImpl, RepeatUntilActivityInstanceImpl, ReplyActivityInstanceImpl, RethrowActivityInstanceImpl, ScopeActivityInstanceImpl, SequenceActivityInstanceImpl, TerminationHandlerActivityInstanceImpl, ThrowActivityInstanceImpl, UnknownActivityInstanceImpl, WaitActivityInstanceImpl, WhileActivityInstanceImpl

public interface ActivityInstance
extends RuntimeRecord

Author:
Gael Lalire, S. Ali Tokmen

Method Summary
 ActivityDefinitionUUID getDefinitionUUID()
          Get the UUID of the activity definition
 BpelFaultException getLastException()
          Get the last exception thrown by this activity, null if the activity has never thrown any exceptions
 ActivityType getType()
          Get the type of the activity instance.
 ActivityInstanceUUID getUUID()
          Get the uuid of the activity instance
 
Methods inherited from interface org.ow2.orchestra.facade.runtime.RuntimeRecord
getEndedDate, getProcessDefinitionUUID, getProcessInstanceUUID, getStartedDate, getState
 

Method Detail

getUUID

ActivityInstanceUUID getUUID()
Get the uuid of the activity instance

Returns:
the UUID of the activity instance.

getType

ActivityType getType()
Get the type of the activity instance. Types are defined in ActivityType

Returns:
the type of the activity (corresponding to ActivityType)

getDefinitionUUID

ActivityDefinitionUUID getDefinitionUUID()
Get the UUID of the activity definition


getLastException

BpelFaultException getLastException()
Get the last exception thrown by this activity, null if the activity has never thrown any exceptions



Copyright © 2011 OW2 Consortium. All Rights Reserved.