Workflow Engine .NET  2
Static Public Attributes | Properties | List of all members
OptimaJet.Workflow.Core.Persistence.ProcessStatus Class Reference

Represent a stage of a life cycle of a process More...

Static Public Attributes

static readonly ProcessStatus NotFound
 Status of a processes which are not exists in persistence store More...
 
static readonly ProcessStatus Unknown
 Status of a processes which are exists in persistence store but theirs status is not defined More...
 
static readonly ProcessStatus Initialized
 Status of a processes which was created just now More...
 
static readonly ProcessStatus Running
 Status of a processes which are executing at current moment More...
 
static readonly ProcessStatus Idled
 Status of a processes which are not executing at current moment and awaiting an external interaction More...
 
static readonly ProcessStatus Finalized
 Status of a processes which was finalized More...
 
static readonly ProcessStatus Terminated
 Status of a processes which was terminated with an error More...
 
static readonly ProcessStatus Error
 Status of a processes which had an error but not terminated More...
 
static readonly IEnumerable< ProcessStatusAll
 

Properties

byte Id [get]
 
bool IsAllowedToChangeStatus [get, set]
 
bool IsAllowedToExecuteCommand [get, set]
 

Detailed Description

Represent a stage of a life cycle of a process

Member Data Documentation

◆ All

readonly IEnumerable<ProcessStatus> OptimaJet.Workflow.Core.Persistence.ProcessStatus.All
static
Initial value:
= new List<ProcessStatus>

◆ Error

readonly ProcessStatus OptimaJet.Workflow.Core.Persistence.ProcessStatus.Error
static
Initial value:
= new ProcessStatus
{
Id = 5,
IsAllowedToChangeStatus = true,
IsAllowedToExecuteCommand = true
}

Status of a processes which had an error but not terminated

◆ Finalized

readonly ProcessStatus OptimaJet.Workflow.Core.Persistence.ProcessStatus.Finalized
static
Initial value:
= new ProcessStatus
{
Id = 3,
IsAllowedToChangeStatus = true,
IsAllowedToExecuteCommand = false
}

Status of a processes which was finalized

◆ Idled

readonly ProcessStatus OptimaJet.Workflow.Core.Persistence.ProcessStatus.Idled
static
Initial value:
= new ProcessStatus
{
Id = 2,
IsAllowedToChangeStatus = true,
IsAllowedToExecuteCommand = true
}

Status of a processes which are not executing at current moment and awaiting an external interaction

◆ Initialized

readonly ProcessStatus OptimaJet.Workflow.Core.Persistence.ProcessStatus.Initialized
static
Initial value:
= new ProcessStatus
{
Id = 0,
IsAllowedToChangeStatus = false,
IsAllowedToExecuteCommand = false
}

Status of a processes which was created just now

◆ NotFound

readonly ProcessStatus OptimaJet.Workflow.Core.Persistence.ProcessStatus.NotFound
static
Initial value:
= new ProcessStatus
{
Id = 255,
IsAllowedToChangeStatus = false,
IsAllowedToExecuteCommand = false
}

Status of a processes which are not exists in persistence store

◆ Running

readonly ProcessStatus OptimaJet.Workflow.Core.Persistence.ProcessStatus.Running
static
Initial value:
= new ProcessStatus
{
Id = 1,
IsAllowedToChangeStatus = false,
IsAllowedToExecuteCommand = false
}

Status of a processes which are executing at current moment

◆ Terminated

readonly ProcessStatus OptimaJet.Workflow.Core.Persistence.ProcessStatus.Terminated
static
Initial value:
= new ProcessStatus
{
Id = 4,
IsAllowedToChangeStatus = true,
IsAllowedToExecuteCommand = false
}

Status of a processes which was terminated with an error

◆ Unknown

readonly ProcessStatus OptimaJet.Workflow.Core.Persistence.ProcessStatus.Unknown
static
Initial value:
= new ProcessStatus
{
Id = 254,
IsAllowedToChangeStatus = false,
IsAllowedToExecuteCommand = false
}

Status of a processes which are exists in persistence store but theirs status is not defined