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
CreateTaskForEachMatch
Gets or sets a value indicating whether a task should be created for each match found.
public bool CreateTaskForEachMatch { get; set; }
Property Value
Description
Gets or sets the description of the task template.
public string? Description { get; set; }
Property Value
Execution
Gets or sets the execution type of the task.
public TaskExecution Execution { get; set; }
Property Value
Id
public long Id { get; set; }
Property Value
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
IsMandatory
Gets or sets a value indicating whether the task is mandatory.
public bool IsMandatory { get; set; }
Property Value
Parameters
Gets or sets the parameters needed for task execution, keyed by parameter name.
public IDictionary<string, object>? Parameters { get; set; }
Property Value
RequireAllConditions
Gets or sets a value indicating whether all conditions must be met.
public bool RequireAllConditions { get; set; }
Property Value
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
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?