Interface IActivityExceptionHandlerBuilder
Represents a builder for configuring exception handling for an activity.
Inherited Members
IActivityBuilder.State(string)
IActivityBuilder.DisableSetState()
IActivityBuilder.EnableSetState()
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.CustomType(string)
IActivityBuilder.Ref(out ActivityDefinition)
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
Syntaxpublic interface IActivityExceptionHandlerBuilder : IActivityBuilder, IBaseActivityBuilder, IProcessDefinitionBuilder
Methods
Retry(int)
Configures the exception handler to retry the activity a specified number of times.
DeclarationIActivityBuilder Retry(int retryCount)
Type | Name | Description |
---|---|---|
int | retryCount | The number of times to retry the activity. Must be greater than 0. |
Type | Description |
---|---|
IActivityBuilder | The 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.
DeclarationIActivityBuilder SetActivity(ActivityDefinition activity)
Type | Name | Description |
---|---|---|
ActivityDefinition | activity | The activity definition to set. |
Type | Description |
---|---|
IActivityBuilder | The 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.
DeclarationIActivityBuilder SetState(string stateName)
Type | Name | Description |
---|---|---|
string | stateName | The name of the state to set. |
Type | Description |
---|---|
IActivityBuilder | The 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.
DeclarationIActivityBuilder Ignore()
Type | Description |
---|---|
IActivityBuilder | The current instance of <xref href="OptimaJet.Workflow.Core.Model.Builder.IActivityBuilder" data-throw-if-not-resolved="false"></xref> for method chaining. |