Table of Contents

Interface IAppStateMachineService.IAppStateMachineCreateBuilder

Namespace
Phoesion.Glow.SDK.Firefly
Assembly
Phoesion.Glow.SDK.Firefly.Abstractions.dll
public interface IAppStateMachineService.IAppStateMachineCreateBuilder

Methods

ApplyAsync()

Task<IAppStateMachineService.AppStateMachineCreateResult> ApplyAsync()

Returns

Task<IAppStateMachineService.AppStateMachineCreateResult>

ApplyAsync(CancellationToken)

Task<IAppStateMachineService.AppStateMachineCreateResult> ApplyAsync(CancellationToken cancellationToken)

Parameters

cancellationToken CancellationToken

Returns

Task<IAppStateMachineService.AppStateMachineCreateResult>

AutoDelete(bool)

Auto-delete state machine when completed suce3ssfully

IAppStateMachineService.IAppStateMachineCreateBuilder AutoDelete(bool autoDelete = true)

Parameters

autoDelete bool

Returns

IAppStateMachineService.IAppStateMachineCreateBuilder

GetAwaiter()

TaskAwaiter<IAppStateMachineService.AppStateMachineCreateResult> GetAwaiter()

Returns

TaskAwaiter<IAppStateMachineService.AppStateMachineCreateResult>

MaxStateTransitions(int)

Limit the number of transitions the state machine is allowed to perform, before being declared Faulted

IAppStateMachineService.IAppStateMachineCreateBuilder MaxStateTransitions(int maxTransitions)

Parameters

maxTransitions int

the number of transitions limit

Returns

IAppStateMachineService.IAppStateMachineCreateBuilder

SuppressIncidents(bool)

Do not create incidents when state machine fails

IAppStateMachineService.IAppStateMachineCreateBuilder SuppressIncidents(bool suppressIncidents = true)

Parameters

suppressIncidents bool

Returns

IAppStateMachineService.IAppStateMachineCreateBuilder

WithDescription(string)

A description of this state machine ( shows in UI )

IAppStateMachineService.IAppStateMachineCreateBuilder WithDescription(string description)

Parameters

description string

the description

Returns

IAppStateMachineService.IAppStateMachineCreateBuilder

WithTag(string)

Add tag to the state machine

IAppStateMachineService.IAppStateMachineCreateBuilder WithTag(string tag)

Parameters

tag string

Returns

IAppStateMachineService.IAppStateMachineCreateBuilder

WithTag(string, string?)

Add tag to the state machine

IAppStateMachineService.IAppStateMachineCreateBuilder WithTag(string tag, string? value)

Parameters

tag string
value string

Returns

IAppStateMachineService.IAppStateMachineCreateBuilder

WithTags(IEnumerable<string>)

Add tag to the state machine

IAppStateMachineService.IAppStateMachineCreateBuilder WithTags(IEnumerable<string> tags)

Parameters

tags IEnumerable<string>

Returns

IAppStateMachineService.IAppStateMachineCreateBuilder

WithTags(IEnumerable<(string tag, string? value)>)

Add tag to the state machine

IAppStateMachineService.IAppStateMachineCreateBuilder WithTags(IEnumerable<(string tag, string? value)> tags)

Parameters

tags IEnumerable<(string tag, string value)>

Returns

IAppStateMachineService.IAppStateMachineCreateBuilder