Workflow Engine .NET

Assembly: OptimaJet.Workflow.Core

Interface ITransitionConditionsBuilder

OptimaJet.Workflow.Core.Model.Builder.ITransitionConditionsBuilder

Represents a builder for configuring transition conditions.

public interface ITransitionConditionsBuilder : ITransitionBuilder, IProcessDefinitionBuilder

Methods

ITransitionConditionBuilder CreateCondition(string conditionName) #
Creates a new condition with the specified name.

Parameters

Name
Type
Description
conditionName
String
The name of the condition to create.

Returns

Type
Description
ITransitionConditionBuilder
An instance of ITransitionConditionBuilder for further configuration of the created condition.
ITransitionConditionBuilder CreateOrUpdateCondition(string conditionName) #
Creates a new condition or updates an existing condition with the specified name.

Parameters

Name
Type
Description
conditionName
String
The name of the condition to create or update.

Returns

Type
Description
ITransitionConditionBuilder
An instance of ITransitionConditionBuilder for further configuration of the condition.
ITransitionConditionBuilder UpdateCondition(string conditionName) #
Updates an existing condition with the specified name.

Parameters

Name
Type
Description
conditionName
String
The name of the condition to update.

Returns

Type
Description
ITransitionConditionBuilder
An instance of ITransitionConditionBuilder for further configuration of the updated condition.
ITransitionConditionsBuilder DeleteCondition(string conditionName) #
Deletes the condition with the specified name.

Parameters

Name
Type
Description
conditionName
String
The name of the condition to delete.

Returns

Type
Description
ITransitionConditionsBuilder
The current instance of ITransitionConditionsBuilder for method chaining.
ITransitionConditionsBuilder DeleteConditionsAndExpressions() #
Deletes all conditions and expressions.

Returns

Type
Description
ITransitionConditionsBuilder
The current instance of ITransitionConditionsBuilder for method chaining.
ITransitionConditionsBuilder DeleteConditions() #
Deletes all conditions of type ConditionType.Action.

Returns

Type
Description
ITransitionConditionsBuilder
The current instance of ITransitionConditionsBuilder for method chaining.
ITransitionConditionsBuilder DeleteExpressions() #
Deletes all expressions of type ConditionType.Expression.

Returns

Type
Description
ITransitionConditionsBuilder
The current instance of ITransitionConditionsBuilder for method chaining.
ITransitionExpressionBuilder CreateExpression(string expression) #
Creates a new expression with the specified value.

Parameters

Name
Type
Description
expression
String
The value of the expression to create.

Returns

Type
Description
ITransitionExpressionBuilder
An instance of ITransitionExpressionBuilder for further configuration of the created expression.
ITransitionExpressionBuilder CreateOrUpdateExpression(string expression) #
Creates a new expression or updates an existing expression with the specified value.

Parameters

Name
Type
Description
expression
String
The value of the expression to create or update.

Returns

Type
Description
ITransitionExpressionBuilder
An instance of ITransitionExpressionBuilder for further configuration of the expression.
ITransitionExpressionBuilder UpdateExpression(string expression) #
Updates an existing expression with the specified value.

Parameters

Name
Type
Description
expression
String
The value of the expression to update.

Returns

Type
Description
ITransitionExpressionBuilder
An instance of ITransitionExpressionBuilder for further configuration of the updated expression.
ITransitionConditionsBuilder DeleteExpression(string expression) #
Deletes the expression with the specified value.

Parameters

Name
Type
Description
expression
String
The value of the expression to delete.

Returns

Type
Description
ITransitionConditionsBuilder
The current instance of ITransitionConditionsBuilder for method chaining.
ITransitionConditionsBuilder ConcatConditionsByAnd() #
Sets the concatenation type of conditions to ConcatenationType.And.

Returns

Type
Description
ITransitionConditionsBuilder
The current instance of ITransitionConditionsBuilder for method chaining.
ITransitionConditionsBuilder ConcatConditionsByOr() #
Sets the concatenation type of conditions to ConcatenationType.Or.

Returns

Type
Description
ITransitionConditionsBuilder
The current instance of ITransitionConditionsBuilder for method chaining.