Workflow Engine .NET  2
Public Member Functions | Static Public Member Functions | Properties | List of all members
OptimaJet.Workflow.Core.Model.TransitionDefinition Class Reference

Represent a transition in a process scheme More...

Inheritance diagram for OptimaJet.Workflow.Core.Model.TransitionDefinition:
OptimaJet.Workflow.Core.Model.BaseDefinition

Public Member Functions

void AddRestriction (RestrictionDefinition restriction)
 Add restriction to restrictions list More...
 
new TransitionDefinition Clone ()
 
TransitionDefinition Clone (List< ActorDefinition > actorDefinitions, List< CommandDefinition > commandDefinitions, List< ActivityDefinition > activityDefinitions, List< TimerDefinition > timerDefinitions)
 Clones TransitionDefinition object replacing references to the references to the specific objects More...
 
- Public Member Functions inherited from OptimaJet.Workflow.Core.Model.BaseDefinition
BaseDefinition Clone ()
 

Static Public Member Functions

static TransitionDefinition Create (string name, string clasifier, string allowRestrictionsConcatenationType, string denyRestrictionsConcatenationType, string conditionsConcatenationType, string isFork, string mergeViaSetState, string disableParentStateControl, ActivityDefinition from, ActivityDefinition to, TriggerDefinition trigger, List< ConditionDefinition > conditions)
 Create TransitionDefinition object More...
 
static TransitionDefinition Create (ActivityDefinition from, ActivityDefinition to)
 Create TransitionDefinition object with NotSpecified classifier, Always condition, Auto trigger More...
 

Properties

ActivityDefinition From [get, set]
 Source activity More...
 
ActivityDefinition To [get, set]
 Destination activity More...
 
TransitionClassifier Classifier [get, set]
 Classifier of the direction of the transition More...
 
TriggerDefinition Trigger [get, set]
 Transition's trigger More...
 
List< ConditionDefinitionConditions [get, set]
 List of conditions which are checked to execute transition More...
 
List< RestrictionDefinitionRestrictions [get, set]
 List of actors which are determine a user which can execute transition More...
 
ConcatenationType AllowConcatenationType [get, set]
 Type of concatenation for restrictions with the type equal "Allow" RestrictionType.Allow

See also
RestrictionDefinition.Type
More...
 
ConcatenationType RestrictConcatenationType [get, set]
 Type of concatenation for restrictions with the type equal "Restrict" RestrictionType.Restrict

See also
RestrictionDefinition.Type
More...
 
ConcatenationType ConditionsConcatenationType [get, set]
 Type of concatenation for conditions More...
 
bool IsAlwaysTransition [get]
 Returns true if condition type of the transition is equal "Always" ConditionType.Always More...
 
bool IsOtherwiseTransition [get]
 Returns true if condition type of the transition is equal "Otherwise" ConditionType.Otherwise More...
 
bool IsConditionTransition [get]
 Returns true if condition type of the transition is equal "Action" ConditionType.Action More...
 
bool IsFork [get, set]
 Returns true if Transition initialized or finalized a fork (split, parallel branch). Fork transition is the initial or final transition of a subprocess More...
 
bool MergeViaSetState [get, set]
 Returns true if after a subprocess will be merged with a parent process new state of a parent process will be set forcibly More...
 
bool DisableParentStateControl [get, set]
 Applied if transition is fork. False - mean that subprocess will be dropped if parent process turned up in a state where subprocess can not exist. True - mean that subprocess control is responsibility of a developer. More...
 
TransitionForkType ForkType [get]
 Returns type of fork transition TransitionForkType More...
 
- Properties inherited from OptimaJet.Workflow.Core.Model.BaseDefinition
virtual string Name [get, set]
 Name of the object in scheme More...
 
DesignerSettings DesignerSettings [get, set]
 Designer settings which used by Workflow Designer More...
 

Detailed Description

Represent a transition in a process scheme

Member Function Documentation

◆ AddRestriction()

void OptimaJet.Workflow.Core.Model.TransitionDefinition.AddRestriction ( RestrictionDefinition  restriction)

Add restriction to restrictions list

Parameters
restrictionRestrictionDefinition object

◆ Clone()

TransitionDefinition OptimaJet.Workflow.Core.Model.TransitionDefinition.Clone ( List< ActorDefinition actorDefinitions,
List< CommandDefinition commandDefinitions,
List< ActivityDefinition activityDefinitions,
List< TimerDefinition timerDefinitions 
)

Clones TransitionDefinition object replacing references to the references to the specific objects

Parameters
actorDefinitionsList of the actors to replace
commandDefinitionsList of the commands to replace
activityDefinitionsList of the activities to replace
timerDefinitionsList of the timers to replace
Returns
Cloned TransitionDefinition object

◆ Create() [1/2]

static TransitionDefinition OptimaJet.Workflow.Core.Model.TransitionDefinition.Create ( string  name,
string  clasifier,
string  allowRestrictionsConcatenationType,
string  denyRestrictionsConcatenationType,
string  conditionsConcatenationType,
string  isFork,
string  mergeViaSetState,
string  disableParentStateControl,
ActivityDefinition  from,
ActivityDefinition  to,
TriggerDefinition  trigger,
List< ConditionDefinition conditions 
)
static

Create TransitionDefinition object

Parameters
nameName of the transition
clasifierClassifier of the direction of the transition
allowRestrictionsConcatenationTypeType of concatenation for restrictions with the type equal "Allow" RestrictionType.Allow
See also
RestrictionDefinition.Type
denyRestrictionsConcatenationTypeType of concatenation for restrictions with the type equal "Restrict" RestrictionType.Restrict
See also
RestrictionDefinition.Type
conditionsConcatenationTypeType of concatenation for conditions
mergeViaSetStateReturns true if after a subprocess will be merged with a parent process new state of a parent process will be set forcibly
disableParentStateControlApplied if transition is fork. False - mean that subprocess will be dropped if parent process turned up in a state where subprocess can not exist. True - mean that subprocess control is responsibility of a developer.
fromSource activity
toDestination activity
triggerTransition's trigger
conditionsList of conditions which are checked to execute transition
isForkTrue if Transition initialized or finalized a fork (split, parallel branch). Fork transition is the initial or final transition of a subprocess
Returns
TransitionDefinition object

◆ Create() [2/2]

static TransitionDefinition OptimaJet.Workflow.Core.Model.TransitionDefinition.Create ( ActivityDefinition  from,
ActivityDefinition  to 
)
static

Create TransitionDefinition object with NotSpecified classifier, Always condition, Auto trigger

Parameters
fromSource activity
toDestination activity
Returns
TransitionDefinition object

Property Documentation

◆ AllowConcatenationType

ConcatenationType OptimaJet.Workflow.Core.Model.TransitionDefinition.AllowConcatenationType
getset

Type of concatenation for restrictions with the type equal "Allow" RestrictionType.Allow

See also
RestrictionDefinition.Type

◆ Classifier

TransitionClassifier OptimaJet.Workflow.Core.Model.TransitionDefinition.Classifier
getset

Classifier of the direction of the transition

◆ Conditions

List<ConditionDefinition> OptimaJet.Workflow.Core.Model.TransitionDefinition.Conditions
getset

List of conditions which are checked to execute transition

◆ ConditionsConcatenationType

ConcatenationType OptimaJet.Workflow.Core.Model.TransitionDefinition.ConditionsConcatenationType
getset

Type of concatenation for conditions

◆ DisableParentStateControl

bool OptimaJet.Workflow.Core.Model.TransitionDefinition.DisableParentStateControl
getset

Applied if transition is fork. False - mean that subprocess will be dropped if parent process turned up in a state where subprocess can not exist. True - mean that subprocess control is responsibility of a developer.

◆ ForkType

TransitionForkType OptimaJet.Workflow.Core.Model.TransitionDefinition.ForkType
get

Returns type of fork transition TransitionForkType

◆ From

ActivityDefinition OptimaJet.Workflow.Core.Model.TransitionDefinition.From
getset

Source activity

◆ IsAlwaysTransition

bool OptimaJet.Workflow.Core.Model.TransitionDefinition.IsAlwaysTransition
get

Returns true if condition type of the transition is equal "Always" ConditionType.Always

◆ IsConditionTransition

bool OptimaJet.Workflow.Core.Model.TransitionDefinition.IsConditionTransition
get

Returns true if condition type of the transition is equal "Action" ConditionType.Action

◆ IsFork

bool OptimaJet.Workflow.Core.Model.TransitionDefinition.IsFork
getset

Returns true if Transition initialized or finalized a fork (split, parallel branch). Fork transition is the initial or final transition of a subprocess

◆ IsOtherwiseTransition

bool OptimaJet.Workflow.Core.Model.TransitionDefinition.IsOtherwiseTransition
get

Returns true if condition type of the transition is equal "Otherwise" ConditionType.Otherwise

◆ MergeViaSetState

bool OptimaJet.Workflow.Core.Model.TransitionDefinition.MergeViaSetState
getset

Returns true if after a subprocess will be merged with a parent process new state of a parent process will be set forcibly

◆ RestrictConcatenationType

ConcatenationType OptimaJet.Workflow.Core.Model.TransitionDefinition.RestrictConcatenationType
getset

Type of concatenation for restrictions with the type equal "Restrict" RestrictionType.Restrict

See also
RestrictionDefinition.Type

◆ Restrictions

List<RestrictionDefinition> OptimaJet.Workflow.Core.Model.TransitionDefinition.Restrictions
getset

List of actors which are determine a user which can execute transition

◆ To

ActivityDefinition OptimaJet.Workflow.Core.Model.TransitionDefinition.To
getset

Destination activity

◆ Trigger

TriggerDefinition OptimaJet.Workflow.Core.Model.TransitionDefinition.Trigger
getset

Transition's trigger