Class ProcessStatus
Represent a stage of a life cycle of a process
Inheritance
↳ object
↳ ProcessStatus
Inherited Members
Equals(object)
Equals(object, object)
GetHashCode()
GetType()
ReferenceEquals(object, object)
ToString()
Namespace: OptimaJet.Workflow.Core.Persistence
Assembly: OptimaJet.Workflow.Core.dll
Syntaxpublic sealed class ProcessStatus
Properties
Id
Declarationpublic byte Id { get; }
Type | Description |
---|---|
byte |
Name
Declarationpublic string Name { get; }
Type | Description |
---|---|
string |
IsAllowedToChangeStatus
Declarationpublic bool IsAllowedToChangeStatus { get; set; }
Type | Description |
---|---|
bool |
IsAllowedToExecuteCommand
Declarationpublic bool IsAllowedToExecuteCommand { get; set; }
Type | Description |
---|---|
bool |
IsNotRunning
Declarationpublic bool IsNotRunning { get; }
Type | Description |
---|---|
bool |
Fields
NotFound
Status of a processes which are not exists in persistence store
Declarationpublic static readonly ProcessStatus NotFound
Type | Description |
---|---|
ProcessStatus |
Unknown
Status of a processes which are exists in persistence store but theirs status is not defined
Declarationpublic static readonly ProcessStatus Unknown
Type | Description |
---|---|
ProcessStatus |
Initialized
Status of a processes which was created just now
Declarationpublic static readonly ProcessStatus Initialized
Type | Description |
---|---|
ProcessStatus |
Running
Status of a processes which are executing at current moment
Declarationpublic static readonly ProcessStatus Running
Type | Description |
---|---|
ProcessStatus |
Idled
Status of a processes which are not executing at current moment and awaiting an external interaction
Declarationpublic static readonly ProcessStatus Idled
Type | Description |
---|---|
ProcessStatus |
Finalized
Status of a processes which was finalized
Declarationpublic static readonly ProcessStatus Finalized
Type | Description |
---|---|
ProcessStatus |
Terminated
Status of a processes which was terminated with an error
Declarationpublic static readonly ProcessStatus Terminated
Type | Description |
---|---|
ProcessStatus |
Error
Status of a processes which had an error but not terminated
Declarationpublic static readonly ProcessStatus Error
Type | Description |
---|---|
ProcessStatus |
All
Declarationpublic static readonly IEnumerable<ProcessStatus> All
Type | Description |
---|---|
IEnumerable<ProcessStatus> |