org.eclipse.stardust.engine.api.runtime
Interface ActivityCompletionLog

All Superinterfaces:
Serializable

public interface ActivityCompletionLog
extends Serializable

Provides extended information in result of non-trivial activity completion. Currently it allows to activate and retrieve a synchronous interactive successor activity, which may be executed by he user.

Version:
$Revision$
Author:
rsauer

Method Summary
 ActivityInstance getCompletedActivity()
          Obtain the activity just completed.
 ActivityInstance getNextForUser()
          Obtain any synchronous interactive successor activity, if existent.
 

Method Detail

getCompletedActivity

ActivityInstance getCompletedActivity()
Obtain the activity just completed.

Returns:
The completed activity.

getNextForUser

ActivityInstance getNextForUser()
Obtain any synchronous interactive successor activity, if existent. This activity must be activateable by the calling user.

Returns:
The next interactive activity, if existent.
See Also:
WorkflowService.FLAG_ACTIVATE_NEXT_ACTIVITY_INSTANCE, WorkflowService.activateNextActivityInstance(long)


Copyright © 2017 Eclipse Stardust. All Rights Reserved.