Class RestrictionDefinition
OptimaJet.Workflow.Core.Model.RestrictionDefinition
Represent a transition's restiction in a process scheme
Namespace: OptimaJet.Workflow.Core.Model
public class RestrictionDefinitionInheritance
- System.Object
Properties
Name
Type
Type #RestrictionTypeType of the restriction RestrictionType
Actor #ActorDefinitionActor which allowed or restricted to trigger a transition
Methods
public static RestrictionDefinition Create(string type, ActorDefinition actor) #Create RestrictionDefinition object
Parameters
Name
Type
Description
actorActorDefinitionActor which allowed or restricted to trigger a transition
Returns
Type
Description
RestrictionDefinitionRestrictionDefinition object
public static RestrictionDefinition Create(RestrictionType type, ActorDefinition actor) #Create RestrictionDefinition object
Parameters
Name
Type
Description
actorActorDefinitionActor which allowed or restricted to trigger a transition
Returns
Type
Description
RestrictionDefinitionRestrictionDefinition object
public RestrictionDefinition Clone() #Returns
Type
Description
RestrictionDefinitionpublic RestrictionDefinition Clone(List<ActorDefinition> actorDefinitions) #Clones RestrictionDefinition object replacing references to the references to the specific objects
Parameters
Name
Type
Description
actorDefinitionsList<ActorDefinition>List of the actors to replace
Returns
Type
Description
RestrictionDefinitionCloned RestrictionDefinition object