Interface ITransitionConditionsBuilder
OptimaJet.Workflow.Core.Model.Builder.ITransitionConditionsBuilder
Represents a builder for configuring transition conditions.
Namespace: OptimaJet.Workflow.Core.Model.Builder
public interface ITransitionConditionsBuilder : ITransitionBuilder, IProcessDefinitionBuilderMethods
ITransitionConditionBuilder CreateCondition(string conditionName) #Creates a new condition with the specified name.
Parameters
Name
Type
Description
conditionNameStringThe name of the condition to create.
Returns
Type
Description
ITransitionConditionBuilderAn 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
conditionNameStringThe name of the condition to create or update.
Returns
Type
Description
ITransitionConditionBuilderAn 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
conditionNameStringThe name of the condition to update.
Returns
Type
Description
ITransitionConditionBuilderAn 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
conditionNameStringThe name of the condition to delete.
Returns
Type
Description
ITransitionConditionsBuilderThe current instance of ITransitionConditionsBuilder for method chaining.
ITransitionConditionsBuilder DeleteConditionsAndExpressions() #Deletes all conditions and expressions.
Returns
Type
Description
ITransitionConditionsBuilderThe current instance of ITransitionConditionsBuilder for method chaining.
ITransitionConditionsBuilder DeleteConditions() #Deletes all conditions of type ConditionType.Action.
Returns
Type
Description
ITransitionConditionsBuilderThe current instance of ITransitionConditionsBuilder for method chaining.
ITransitionConditionsBuilder DeleteExpressions() #Deletes all expressions of type ConditionType.Expression.
Returns
Type
Description
ITransitionConditionsBuilderThe current instance of ITransitionConditionsBuilder for method chaining.
ITransitionExpressionBuilder CreateExpression(string expression) #Creates a new expression with the specified value.
Parameters
Name
Type
Description
expressionStringThe value of the expression to create.
Returns
Type
Description
ITransitionExpressionBuilderAn 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
expressionStringThe value of the expression to create or update.
Returns
Type
Description
ITransitionExpressionBuilderAn 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
expressionStringThe value of the expression to update.
Returns
Type
Description
ITransitionExpressionBuilderAn 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
expressionStringThe value of the expression to delete.
Returns
Type
Description
ITransitionConditionsBuilderThe current instance of ITransitionConditionsBuilder for method chaining.
ITransitionConditionsBuilder ConcatConditionsByAnd() #Sets the concatenation type of conditions to ConcatenationType.And.
Returns
Type
Description
ITransitionConditionsBuilderThe current instance of ITransitionConditionsBuilder for method chaining.
ITransitionConditionsBuilder ConcatConditionsByOr() #Sets the concatenation type of conditions to ConcatenationType.Or.
Returns
Type
Description
ITransitionConditionsBuilderThe current instance of ITransitionConditionsBuilder for method chaining.