Table of Contents

Interface IAppJobService.IAppJobAddHandler

Namespace
Phoesion.Glow.SDK.Firefly
Assembly
Phoesion.Glow.SDK.Firefly.Abstractions.dll
public interface IAppJobService.IAppJobAddHandler

Methods

AddOrUpdate(Guid?)

Add a job with a user-specified JobId or update if already exists

IAppJobService.IAppJobAddHandler AddOrUpdate(Guid? jobId)

Parameters

jobId Guid?

the job

Returns

IAppJobService.IAppJobAddHandler

ApplyAsync()

Task<IAppJobService.AppJobSubmitResult> ApplyAsync()

Returns

Task<IAppJobService.AppJobSubmitResult>

ApplyAsync(CancellationToken)

Task<IAppJobService.AppJobSubmitResult> ApplyAsync(CancellationToken cancellationToken)

Parameters

cancellationToken CancellationToken

Returns

Task<IAppJobService.AppJobSubmitResult>

AutoDelete(bool)

Automatically delete job when completed successfully

IAppJobService.IAppJobAddHandler AutoDelete(bool autoDelete = true)

Parameters

autoDelete bool

Returns

IAppJobService.IAppJobAddHandler

GetAwaiter()

TaskAwaiter<IAppJobService.AppJobSubmitResult> GetAwaiter()

Returns

TaskAwaiter<IAppJobService.AppJobSubmitResult>

SuppressIncidents(bool)

Do not create incidents when job fails

IAppJobService.IAppJobAddHandler SuppressIncidents(bool sSuppressIncidents = true)

Parameters

sSuppressIncidents bool

Returns

IAppJobService.IAppJobAddHandler

WithDescription(string)

A description of this job ( shows in UI )

IAppJobService.IAppJobAddHandler WithDescription(string description)

Parameters

description string

the description

Returns

IAppJobService.IAppJobAddHandler

WithRetries(int)

The number of automatic retries to attempt, before declaring the job 'Faulted'

IAppJobService.IAppJobAddHandler WithRetries(int retries)

Parameters

retries int

the number of retries

Returns

IAppJobService.IAppJobAddHandler

WithTag(string)

Add tag to the job

IAppJobService.IAppJobAddHandler WithTag(string tag)

Parameters

tag string

Returns

IAppJobService.IAppJobAddHandler

WithTag(string, string?)

Add tag to the job

IAppJobService.IAppJobAddHandler WithTag(string tag, string? value)

Parameters

tag string
value string

Returns

IAppJobService.IAppJobAddHandler

WithTags(IEnumerable<string>)

Add tag to the job

IAppJobService.IAppJobAddHandler WithTags(IEnumerable<string> tags)

Parameters

tags IEnumerable<string>

Returns

IAppJobService.IAppJobAddHandler

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

Add tag to the job

IAppJobService.IAppJobAddHandler WithTags(IEnumerable<(string tag, string? value)> tags)

Parameters

tags IEnumerable<(string tag, string value)>

Returns

IAppJobService.IAppJobAddHandler