Skip to main content

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

Class TimerDefinition

Represent a timer in a process scheme

Inheritance

↳ object

    ↳ BaseDefinition

        ↳ TimerDefinition

Inherited Members

BaseDefinition.Name

BaseDefinition.DesignerSettings

Equals(object)

Equals(object, object)

GetHashCode()

GetType()

ReferenceEquals(object, object)

ToString()

Namespace: OptimaJet.Workflow.Core.Model

Assembly: OptimaJet.Workflow.Core.dll

Syntax
public sealed class TimerDefinition : BaseDefinition

Properties

Type

Type of the timer TimerType

Declaration
[JsonConverter(typeof(StringEnumConverter))]
public TimerType Type { get; set; }
Property value
TypeDescription
TimerType

Value

Specifies the timer time depend on timer type

Declaration
public string Value { get; set; }
Property value
TypeDescription
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

Declaration
public bool NotOverrideIfExists { get; set; }
Property value
TypeDescription
bool

Methods

Create(string, string, string, string)

Create TimerDefinition object

Declaration
public static TimerDefinition Create(string name, string type, string value, string notOverrideIfExists)
Parameters
TypeNameDescription
stringnameName of the timer
stringtypeType of the timer <xref href="OptimaJet.Workflow.Core.Model.TimerType" data-throw-if-not-resolved="false"></xref>
stringvalueSpecifies the timer time depend on timer type
stringnotOverrideIfExistsIf 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
Returns
TypeDescription
TimerDefinitionTimerDefinition object

Clone()

Declaration
public TimerDefinition Clone()
Returns
TypeDescription
TimerDefinition

Extension Methods