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

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

Public Member Functions

ConditionDefinition Clone ()
 

Static Public Member Functions

static ConditionDefinition Create (string type, string resultOnPreExecution)
 Create ConditionDefinition object More...
 
static ConditionDefinition Create (string type, ActionDefinitionReference action, string conditionInversion, string resultOnPreExecution)
 Create ConditionDefinition object More...
 

Properties

ConditionType Type [get, set]
 Type of the condition ConditionType More...
 
ActionDefinitionReference Action [get, set]
 Referensce on the action if condition type is action ConditionType.Action More...
 
bool ResultOnPreExecution [get, set]
 In pre-execution mode if not null the result of the condition will be overriden by the value More...
 
bool ConditionInversion [get, set]
 If true invert condition result if condition type is action ConditionType.Action More...
 
static ConditionDefinition Always [get]
 Create the instance of ConditionDefinition object with always type ConditionType.Always More...
 

Detailed Description

Represent a transition's condition in a process scheme

Member Function Documentation

◆ Create() [1/2]

static ConditionDefinition OptimaJet.Workflow.Core.Model.ConditionDefinition.Create ( string  type,
string  resultOnPreExecution 
)
static

Create ConditionDefinition object

Parameters
typeType of the condition ConditionType
resultOnPreExecutionIn pre-execution mode if not null the result of the condition will be overriden by the value
Returns
ConditionDefinition object

◆ Create() [2/2]

static ConditionDefinition OptimaJet.Workflow.Core.Model.ConditionDefinition.Create ( string  type,
ActionDefinitionReference  action,
string  conditionInversion,
string  resultOnPreExecution 
)
static

Create ConditionDefinition object

Parameters
typeType of the condition ConditionType
actionReferensce on the action if condition type is action ConditionType.Action
conditionInversionIf true invert condition result if condition type is action ConditionType.Action
resultOnPreExecutionIn pre-execution mode if not null the result of the condition will be overriden by the value
Returns
ConditionDefinition object

Property Documentation

◆ Action

ActionDefinitionReference OptimaJet.Workflow.Core.Model.ConditionDefinition.Action
getset

Referensce on the action if condition type is action ConditionType.Action

◆ Always

ConditionDefinition OptimaJet.Workflow.Core.Model.ConditionDefinition.Always
staticget

Create the instance of ConditionDefinition object with always type ConditionType.Always

◆ ConditionInversion

bool OptimaJet.Workflow.Core.Model.ConditionDefinition.ConditionInversion
getset

If true invert condition result if condition type is action ConditionType.Action

◆ ResultOnPreExecution

bool OptimaJet.Workflow.Core.Model.ConditionDefinition.ResultOnPreExecution
getset

In pre-execution mode if not null the result of the condition will be overriden by the value

◆ Type

ConditionType OptimaJet.Workflow.Core.Model.ConditionDefinition.Type
getset

Type of the condition ConditionType