Class TimerDefinition
Represent a timer in a process scheme
Inheritance
↳ object
↳ BaseDefinition
↳ TimerDefinition
Inherited Members
BaseDefinition.DesignerSettings
Equals(object)
Equals(object, object)
GetHashCode()
GetType()
ReferenceEquals(object, object)
ToString()
Namespace: OptimaJet.Workflow.Core.Model
Assembly: OptimaJet.Workflow.Core.dll
Syntaxpublic sealed class TimerDefinition : BaseDefinition
Properties
Type
Type of the timer TimerType
Declaration[JsonConverter(typeof(StringEnumConverter))]
public TimerType Type { get; set; }
Type | Description |
---|---|
TimerType |
Value
Specifies the timer time depend on timer type
Declarationpublic string Value { get; set; }
Type | Description |
---|---|
string |
NotOverrideIfExists
If true specifies that the old timer time will not be overriden if a timer with same name exists in outgoing transitions of a new current activity
Declarationpublic bool NotOverrideIfExists { get; set; }
Type | Description |
---|---|
bool |
Methods
Create(string, string, string, string)
Create TimerDefinition object
Declarationpublic static TimerDefinition Create(string name, string type, string value, string notOverrideIfExists)
Type | Name | Description |
---|---|---|
string | name | Name of the timer |
string | type | Type of the timer <xref href="OptimaJet.Workflow.Core.Model.TimerType" data-throw-if-not-resolved="false"></xref> |
string | value | Specifies the timer time depend on timer type |
string | notOverrideIfExists | If true specifies that the old timer time will not be overriden if a timer with same name exists in outgoing transitions of a new current activity |
Type | Description |
---|---|
TimerDefinition | TimerDefinition object |
Clone()
Declarationpublic TimerDefinition Clone()
Type | Description |
---|---|
TimerDefinition |