Table of Contents

Class TaskTemplate

Namespace
XENBIT.ResQueServe.Core.Models
Assembly
RQS.Core.dll
public record TaskTemplate : ITaskTemplate, IEquatable<TaskTemplate>
Inheritance
TaskTemplate
Implements
Inherited Members

Properties

Conditions

Gets or sets the conditions associated with the task template.

public IEnumerable<ITaskCondition>? Conditions { get; set; }

Property Value

IEnumerable<ITaskCondition>

CreateTaskForEachMatch

Gets or sets a value indicating whether a task should be created for each match found.

public bool CreateTaskForEachMatch { get; set; }

Property Value

bool

Description

Gets or sets the description of the task template.

public string? Description { get; set; }

Property Value

string

Execution

Gets or sets the execution type of the task.

public TaskExecution Execution { get; set; }

Property Value

TaskExecution

Id

public long Id { get; set; }

Property Value

long

ImplementationName

Gets the name of the ResQueServeTask implementation to use for executing this task. This should match the Name property of a ResQueServeTaskAttribute registered in the system.

public string? ImplementationName { get; set; }

Property Value

string

IsMandatory

Gets or sets a value indicating whether the task is mandatory.

public bool IsMandatory { get; set; }

Property Value

bool

Parameters

Gets or sets the parameters needed for task execution, keyed by parameter name.

public IDictionary<string, object>? Parameters { get; set; }

Property Value

IDictionary<string, object>

RequireAllConditions

Gets or sets a value indicating whether all conditions must be met.

public bool RequireAllConditions { get; set; }

Property Value

bool

RequiresSuccessfulSignal

Indicates if the task is waiting for an external signal or callback to confirm success. If set to false, the task is considered successfully completed once the internal execution code completes.

public bool RequiresSuccessfulSignal { get; set; }

Property Value

bool

TimeoutSeconds

Defines a timeout in seconds for how long the task will wait before entering a failed state if is not executed in time.

public int? TimeoutSeconds { get; set; }

Property Value

int?