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

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

Public Member Functions

 TriggerDefinition (TriggerType type)
 Create TriggerDefinition object More...
 
TriggerDefinition Clone ()
 
TriggerDefinition Clone (List< CommandDefinition > commandDefinitions, List< TimerDefinition > timerDefinitions)
 Clones TriggerDefinition object replacing references to the references to the specific objects More...
 

Static Public Member Functions

static TriggerDefinition Create (string type)
 Create TriggerDefinition object More...
 

Properties

TriggerType Type [get, set]
 Type of the trigger TriggerType More...
 
string NameRef [get]
 Returns the name of the object in scheme which start the trigger More...
 
CommandDefinition Command [get, set]
 Command which start the trigger if the type of the trigger is command TriggerType.Command More...
 
TimerDefinition Timer [get, set]
 Timer which start the trigger if the type of the trigger is timer TriggerType.Timer More...
 
static TriggerDefinition Auto [get]
 Create the instance of TriggerDefinition object with auto trigger type TriggerType.Auto More...
 

Detailed Description

Represent a transition's trigger in a process scheme

Constructor & Destructor Documentation

◆ TriggerDefinition()

OptimaJet.Workflow.Core.Model.TriggerDefinition.TriggerDefinition ( TriggerType  type)

Create TriggerDefinition object

Parameters
typeType of the trigger TriggerType

Member Function Documentation

◆ Clone()

TriggerDefinition OptimaJet.Workflow.Core.Model.TriggerDefinition.Clone ( List< CommandDefinition commandDefinitions,
List< TimerDefinition timerDefinitions 
)

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

Parameters
commandDefinitionsList of the commands to replace
timerDefinitionsList of the timers to replace
Returns
Cloned TriggerDefinition object

◆ Create()

static TriggerDefinition OptimaJet.Workflow.Core.Model.TriggerDefinition.Create ( string  type)
static

Create TriggerDefinition object

Parameters
typeType of the trigger TriggerType
Returns
TriggerDefinition object

Property Documentation

◆ Auto

TriggerDefinition OptimaJet.Workflow.Core.Model.TriggerDefinition.Auto
staticget

Create the instance of TriggerDefinition object with auto trigger type TriggerType.Auto

◆ Command

CommandDefinition OptimaJet.Workflow.Core.Model.TriggerDefinition.Command
getset

Command which start the trigger if the type of the trigger is command TriggerType.Command

◆ NameRef

string OptimaJet.Workflow.Core.Model.TriggerDefinition.NameRef
get

Returns the name of the object in scheme which start the trigger

◆ Timer

TimerDefinition OptimaJet.Workflow.Core.Model.TriggerDefinition.Timer
getset

Timer which start the trigger if the type of the trigger is timer TriggerType.Timer

◆ Type

TriggerType OptimaJet.Workflow.Core.Model.TriggerDefinition.Type
getset

Type of the trigger TriggerType