Workflow Engine .NET

Assembly: OptimaJet.Workflow.Core

Class RestrictionDefinition

OptimaJet.Workflow.Core.Model.RestrictionDefinition

Represent a transition's restiction in a process scheme

public class RestrictionDefinition

Inheritance

  • System.Object

Properties

Name
Type
Type #
RestrictionType
Type of the restriction RestrictionType
Actor #
ActorDefinition
Actor which allowed or restricted to trigger a transition

Methods

public static RestrictionDefinition Create(string type, ActorDefinition actor) #
Create RestrictionDefinition object

Parameters

Name
Type
Description
type
String
Type of the condition ConditionType
actor
ActorDefinition
Actor which allowed or restricted to trigger a transition

Returns

Type
Description
RestrictionDefinition
RestrictionDefinition object
public static RestrictionDefinition Create(RestrictionType type, ActorDefinition actor) #
Create RestrictionDefinition object

Parameters

Name
Type
Description
type
RestrictionType
Type of the condition ConditionType
actor
ActorDefinition
Actor which allowed or restricted to trigger a transition

Returns

Type
Description
RestrictionDefinition
RestrictionDefinition object
public RestrictionDefinition Clone() #

Returns

Type
Description
RestrictionDefinition
public RestrictionDefinition Clone(List<ActorDefinition> actorDefinitions) #
Clones RestrictionDefinition object replacing references to the references to the specific objects

Parameters

Name
Type
Description
actorDefinitions
List<ActorDefinition>
List of the actors to replace

Returns

Type
Description
RestrictionDefinition
Cloned RestrictionDefinition object