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

Represent a transition's restiction in a process scheme More...

Public Member Functions

RestrictionDefinition Clone ()
 
RestrictionDefinition Clone (List< ActorDefinition > actorDefinitions)
 Clones RestrictionDefinition object replacing references to the references to the specific objects More...
 

Static Public Member Functions

static RestrictionDefinition Create (string type, ActorDefinition actor)
 Create RestrictionDefinition object More...
 
static RestrictionDefinition Create (RestrictionType type, ActorDefinition actor)
 Create RestrictionDefinition object More...
 

Properties

RestrictionType Type [get, set]
 Type of the restriction RestrictionType More...
 
ActorDefinition Actor [get, set]
 Actor which allowed or restricted to trigger a transition More...
 

Detailed Description

Represent a transition's restiction in a process scheme

Member Function Documentation

◆ Clone()

RestrictionDefinition OptimaJet.Workflow.Core.Model.RestrictionDefinition.Clone ( List< ActorDefinition actorDefinitions)

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

Parameters
actorDefinitionsList of the actors to replace
Returns
Cloned RestrictionDefinition object

◆ Create() [1/2]

static RestrictionDefinition OptimaJet.Workflow.Core.Model.RestrictionDefinition.Create ( string  type,
ActorDefinition  actor 
)
static

Create RestrictionDefinition object

Parameters
typeType of the condition ConditionType
actorActor which allowed or restricted to trigger a transition
Returns
RestrictionDefinition object

◆ Create() [2/2]

static RestrictionDefinition OptimaJet.Workflow.Core.Model.RestrictionDefinition.Create ( RestrictionType  type,
ActorDefinition  actor 
)
static

Create RestrictionDefinition object

Parameters
typeType of the condition ConditionType
actorActor which allowed or restricted to trigger a transition
Returns
RestrictionDefinition object

Property Documentation

◆ Actor

ActorDefinition OptimaJet.Workflow.Core.Model.RestrictionDefinition.Actor
getset

Actor which allowed or restricted to trigger a transition

◆ Type

RestrictionType OptimaJet.Workflow.Core.Model.RestrictionDefinition.Type
getset

Type of the restriction RestrictionType