Skip to main content

Introducing Formengine - The New Formbuilder, try for FREE formengine.io.

Interface IActivityExceptionHandlerBuilder

Represents a builder for configuring exception handling for an activity.

Inherited Members

IActivityBuilder.Name(string)

IActivityBuilder.State(string)

IActivityBuilder.NotState()

IActivityBuilder.DisableSetState()

IActivityBuilder.EnableSetState()

IActivityBuilder.Initial()

IActivityBuilder.Final()

IActivityBuilder.Basic()

IActivityBuilder.EnableAutoSchemeUpdate()

IActivityBuilder.DisableAutoSchemeUpdate()

IActivityBuilder.CreateOrUpdateAnnotation(string, string)

IActivityBuilder.CreateOrUpdateAnnotation(string, object)

IActivityBuilder.DeleteAnnotation(string)

IActivityBuilder.DisablePersistence()

IActivityBuilder.EnablePersistence()

IActivityBuilder.DisableTransitionHistoryPersistence()

IActivityBuilder.EnableTransitionHistoryPersistence()

IActivityBuilder.DisableParametersPersistence()

IActivityBuilder.EnableParametersPersistence()

IActivityBuilder.DisableStatePersistence()

IActivityBuilder.EnableStatePersistence()

IActivityBuilder.IdleTimeout(TimeSpan)

IActivityBuilder.IdleTimeout(int)

IActivityBuilder.DeleteIdleTimeout()

IActivityBuilder.UpdateIdleTimeout()

IActivityBuilder.ExecutionTimeout(TimeSpan)

IActivityBuilder.ExecutionTimeout(int)

IActivityBuilder.UpdateExecutionTimeout()

IActivityBuilder.DeleteExecutionTimeout()

IActivityBuilder.CreateOrUpdateExceptionHandler(params string[])

IActivityBuilder.CreateOrUpdateExceptionHandler(params Type[])

IActivityBuilder.DeleteExceptionHandler(params string[])

IActivityBuilder.DeleteExceptionHandler(params Type[])

IActivityBuilder.DeleteExceptionHandlers()

IActivityBuilder.DeleteImplementation(string?)

IActivityBuilder.UpdateImplementation(string)

IActivityBuilder.CreateImplementationAtBegin(string)

IActivityBuilder.CreateImplementationAtEnd(string)

IActivityBuilder.CreateImplementationBefore(string, string)

IActivityBuilder.CreateImplementationAfter(string, string)

IActivityBuilder.DeletePreExecution(string?)

IActivityBuilder.UpdatePreExecution(string)

IActivityBuilder.CreatePreExecutionAtBegin(string)

IActivityBuilder.CreatePreExecutionAtEnd(string)

IActivityBuilder.CreatePreExecutionBefore(string, string)

IActivityBuilder.CreatePreExecutionAfter(string, string)

IActivityBuilder.CreateCommentary(string)

IActivityBuilder.AppendCommentary(string)

IActivityBuilder.DeleteCommentary()

IActivityBuilder.SetX(int?)

IActivityBuilder.SetY(int?)

IActivityBuilder.CustomType(string)

IActivityBuilder.Ref(out ActivityDefinition)

IBaseActivityBuilder.Activity

IBaseActivityBuilder.OutgoingTransitions

IBaseActivityBuilder.IncomingTransitions

IProcessDefinitionBuilder.CreateActor(string, string)

IProcessDefinitionBuilder.CreateOrUpdateActor(string, string)

IProcessDefinitionBuilder.UpdateActor(string)

IProcessDefinitionBuilder.DeleteActor(string)

IProcessDefinitionBuilder.CreateParameter(string, Type, ParameterPurpose)

IProcessDefinitionBuilder.CreateOrUpdateParameter(string, Type, ParameterPurpose)

IProcessDefinitionBuilder.UpdateParameter(string)

IProcessDefinitionBuilder.DeleteParameter(string)

IProcessDefinitionBuilder.CreateCommand(string)

IProcessDefinitionBuilder.CreateOrUpdateCommand(string)

IProcessDefinitionBuilder.UpdateCommand(string)

IProcessDefinitionBuilder.DeleteCommand(string)

IProcessDefinitionBuilder.CreateTimer(string)

IProcessDefinitionBuilder.CreateOrUpdateTimer(string)

IProcessDefinitionBuilder.UpdateTimer(string)

IProcessDefinitionBuilder.DeleteTimer(string)

IProcessDefinitionBuilder.CreateActivity(string)

IProcessDefinitionBuilder.AddActivity(ActivityDefinition)

IProcessDefinitionBuilder.CreateInlineActivity(string, string)

IProcessDefinitionBuilder.CreateOrUpdateActivity(string)

IProcessDefinitionBuilder.CreateOrUpdateInlineActivity(string, string)

IProcessDefinitionBuilder.UpdateActivity(string)

IProcessDefinitionBuilder.UpdateInlineActivity(string)

IProcessDefinitionBuilder.UpdateActivity(ActivityDefinition)

IProcessDefinitionBuilder.UpdateInlineActivity(ActivityDefinition)

IProcessDefinitionBuilder.DeleteActivity(string)

IProcessDefinitionBuilder.DeleteActivity(ActivityDefinition)

IProcessDefinitionBuilder.CreateTransition(string, ActivityDefinition, ActivityDefinition)

IProcessDefinitionBuilder.CreateOrUpdateTransition(string, ActivityDefinition, ActivityDefinition)

IProcessDefinitionBuilder.UpdateTransition(string)

IProcessDefinitionBuilder.UpdateTransition(TransitionDefinition)

IProcessDefinitionBuilder.DeleteTransition(string)

IProcessDefinitionBuilder.DeleteTransition(TransitionDefinition)

IProcessDefinitionBuilder.ForEachActivity(Action<IActivityBuilder>)

IProcessDefinitionBuilder.ForEachTransition(Action<ITransitionBuilder>)

IProcessDefinitionBuilder.Inlined()

IProcessDefinitionBuilder.NotInlined()

IProcessDefinitionBuilder.GetActivity(string, out ActivityDefinition)

IProcessDefinitionBuilder.GetTransition(string, out TransitionDefinition)

IProcessDefinitionBuilder.ProcessDefinition

Namespace: OptimaJet.Workflow.Core.Model.Builder

Assembly: OptimaJet.Workflow.Core.dll

Syntax
public interface IActivityExceptionHandlerBuilder : IActivityBuilder, IBaseActivityBuilder, IProcessDefinitionBuilder

Methods

Retry(int)

Configures the exception handler to retry the activity a specified number of times.

Declaration
IActivityBuilder Retry(int retryCount)
Parameters
TypeNameDescription
intretryCountThe number of times to retry the activity. Must be greater than 0.
Returns
TypeDescription
IActivityBuilderThe current instance of <xref href="OptimaJet.Workflow.Core.Model.Builder.IActivityBuilder" data-throw-if-not-resolved="false"></xref> for method chaining.

SetActivity(ActivityDefinition)

Configures the exception handler to set a specified activity when an exception occurs.

Declaration
IActivityBuilder SetActivity(ActivityDefinition activity)
Parameters
TypeNameDescription
ActivityDefinitionactivityThe activity definition to set.
Returns
TypeDescription
IActivityBuilderThe current instance of <xref href="OptimaJet.Workflow.Core.Model.Builder.IActivityBuilder" data-throw-if-not-resolved="false"></xref> for method chaining.

SetState(string)

Configures the exception handler to set a specified state when an exception occurs.

Declaration
IActivityBuilder SetState(string stateName)
Parameters
TypeNameDescription
stringstateNameThe name of the state to set.
Returns
TypeDescription
IActivityBuilderThe current instance of <xref href="OptimaJet.Workflow.Core.Model.Builder.IActivityBuilder" data-throw-if-not-resolved="false"></xref> for method chaining.

Ignore()

Configures the exception handler to ignore the exception.

Declaration
IActivityBuilder Ignore()
Returns
TypeDescription
IActivityBuilderThe current instance of <xref href="OptimaJet.Workflow.Core.Model.Builder.IActivityBuilder" data-throw-if-not-resolved="false"></xref> for method chaining.

Extension Methods