Interface ITimerBuilder
Represents a builder for configuring a timer definition.
Inherited Members
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 ITimerBuilder : IProcessDefinitionBuilder
Methods
Ref(out TimerDefinition)
Sets the reference to the current TimerDefinition for further configuration.
DeclarationITimerBuilder Ref(out TimerDefinition timerDefinition)
Type | Name | Description |
---|---|---|
TimerDefinition | timerDefinition | The variable that will hold the current <xref href="OptimaJet.Workflow.Core.Model.TimerDefinition" data-throw-if-not-resolved="false"></xref>. |
Type | Description |
---|---|
ITimerBuilder | Returns the current <xref href="OptimaJet.Workflow.Core.Model.Builder.ITimerBuilder" data-throw-if-not-resolved="false"></xref> instance for chaining method calls. |
Name(string)
Sets the name of the timer.
DeclarationITimerBuilder Name(string name)
Type | Name | Description |
---|---|---|
string | name | The name of the timer. |
Type | Description |
---|---|
ITimerBuilder | Returns the current <xref href="OptimaJet.Workflow.Core.Model.Builder.ITimerBuilder" data-throw-if-not-resolved="false"></xref> instance for chaining method calls. |
Interval(int)
Sets the interval in seconds for the timer.
DeclarationITimerBuilder Interval(int interval)
Type | Name | Description |
---|---|---|
int | interval | The interval in seconds. |
Type | Description |
---|---|
ITimerBuilder | Returns the current <xref href="OptimaJet.Workflow.Core.Model.Builder.ITimerBuilder" data-throw-if-not-resolved="false"></xref> instance for chaining method calls. |
Interval(TimeSpan)
Sets the interval using a System.TimeSpan.
DeclarationITimerBuilder Interval(TimeSpan interval)
Type | Name | Description |
---|---|---|
TimeSpan | interval | The interval as a <xref href="System.TimeSpan" data-throw-if-not-resolved="false"></xref>. |
Type | Description |
---|---|
ITimerBuilder | Returns the current <xref href="OptimaJet.Workflow.Core.Model.Builder.ITimerBuilder" data-throw-if-not-resolved="false"></xref> instance for chaining method calls. |
DateTime(DateTime)
Sets the specific date and time when the timer should trigger.
DeclarationITimerBuilder DateTime(DateTime dateTime)
Type | Name | Description |
---|---|---|
DateTime | dateTime | The date and time to trigger the timer. |
Type | Description |
---|---|
ITimerBuilder | Returns the current <xref href="OptimaJet.Workflow.Core.Model.Builder.ITimerBuilder" data-throw-if-not-resolved="false"></xref> instance for chaining method calls. |
Date(DateTime)
Sets the specific date when the timer should trigger.
DeclarationITimerBuilder Date(DateTime date)
Type | Name | Description |
---|---|---|
DateTime | date | The date to trigger the timer. |
Type | Description |
---|---|
ITimerBuilder | Returns the current <xref href="OptimaJet.Workflow.Core.Model.Builder.ITimerBuilder" data-throw-if-not-resolved="false"></xref> instance for chaining method calls. |
Time(DateTime)
Sets the specific time when the timer should trigger.
DeclarationITimerBuilder Time(DateTime time)
Type | Name | Description |
---|---|---|
DateTime | time | The time to trigger the timer. |
Type | Description |
---|---|
ITimerBuilder | Returns the current <xref href="OptimaJet.Workflow.Core.Model.Builder.ITimerBuilder" data-throw-if-not-resolved="false"></xref> instance for chaining method calls. |
Expression(string)
Sets an expression to define when the timer should trigger.
DeclarationITimerBuilder Expression(string expression)
Type | Name | Description |
---|---|---|
string | expression | The expression determining the trigger time. |
Type | Description |
---|---|
ITimerBuilder | Returns the current <xref href="OptimaJet.Workflow.Core.Model.Builder.ITimerBuilder" data-throw-if-not-resolved="false"></xref> instance for chaining method calls. |
Overridable()
Allows the timer to be overridden if it already exists.
DeclarationITimerBuilder Overridable()
Type | Description |
---|---|
ITimerBuilder | Returns the current <xref href="OptimaJet.Workflow.Core.Model.Builder.ITimerBuilder" data-throw-if-not-resolved="false"></xref> instance for chaining method calls. |
NotOverridable()
Prevents the timer from being overridden if it already exists.
DeclarationITimerBuilder NotOverridable()
Type | Description |
---|---|
ITimerBuilder | Returns the current <xref href="OptimaJet.Workflow.Core.Model.Builder.ITimerBuilder" data-throw-if-not-resolved="false"></xref> instance for chaining method calls. |