org.eclipse.stardust.engine.api.model
Interface ConditionalPerformer

All Superinterfaces:
ConditionalPerformerInfo, ModelElement, ModelParticipant, ModelParticipantInfo, Participant, ParticipantInfo, org.eclipse.stardust.engine.api.model.QualifiedConditionalPerformerInfo, org.eclipse.stardust.engine.api.model.QualifiedModelParticipantInfo, Serializable

public interface ConditionalPerformer
extends ModelParticipant, org.eclipse.stardust.engine.api.model.QualifiedConditionalPerformerInfo

A client view of a workflow conditional performer. Conditional performers allows to use late bound participant associations, i.e. deriving the concrete participant from process state.

Version:
$Revision$
Author:
rsauer

Field Summary
 
Fields inherited from interface org.eclipse.stardust.engine.api.model.ModelParticipantInfo
ADMINISTRATOR
 
Method Summary
 ParticipantType getPerformerKind()
          Retrieves the kind of participant this conditional performer is supposed to resolve to at runtime.
 Participant getResolvedPerformer()
          Retrieves the performer this conditional performer resolves to at runtime.
 
Methods inherited from interface org.eclipse.stardust.engine.api.model.ModelParticipant
getAllSuperOrganizations, getElementOID, getModelOID, getNamespace
 
Methods inherited from interface org.eclipse.stardust.engine.api.model.Participant
getAllAttributes, getAttribute, getPartitionId, getPartitionOID
 
Methods inherited from interface org.eclipse.stardust.engine.api.model.ModelElement
getDescription, getId, getName, getQualifiedId
 
Methods inherited from interface org.eclipse.stardust.engine.api.model.QualifiedModelParticipantInfo
getQualifiedId
 
Methods inherited from interface org.eclipse.stardust.engine.api.model.ModelParticipantInfo
definesDepartmentScope, getDepartment, getRuntimeElementOID, isDepartmentScoped
 
Methods inherited from interface org.eclipse.stardust.engine.api.model.ParticipantInfo
getId, getName
 

Method Detail

getPerformerKind

ParticipantType getPerformerKind()
Retrieves the kind of participant this conditional performer is supposed to resolve to at runtime.

Returns:
The runtime-type of this conditional performer.

getResolvedPerformer

Participant getResolvedPerformer()
Retrieves the performer this conditional performer resolves to at runtime. This resolve operation can only be performed if this conditional performer was obtained in the context of a process or activity instance.

Returns:
The resolved participant. null if the participant could not be resolved.


Copyright © 2017 Eclipse Stardust. All Rights Reserved.