Interface ITaskTemplate
- Namespace
- XENBIT.ResQueServe.Abstractions.Interfaces
- Assembly
- RQS.Abstractions.dll
Represents a task template with configuration details for creating tasks.
public interface ITaskTemplate
Properties
Conditions
Gets or sets the conditions associated with the task template.
IEnumerable<ITaskCondition>? Conditions { get; set; }
Property Value
CreateTaskForEachMatch
Gets or sets a value indicating whether a task should be created for each match found.
bool CreateTaskForEachMatch { get; set; }
Property Value
Description
Gets or sets the description of the task template.
string? Description { get; set; }
Property Value
Execution
Gets or sets the execution type of the task.
TaskExecution Execution { get; set; }
Property Value
Id
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.
string? ImplementationName { get; set; }
Property Value
IsMandatory
Gets or sets a value indicating whether the task is mandatory.
bool IsMandatory { get; set; }
Property Value
Parameters
Gets or sets the parameters needed for task execution, keyed by parameter name.
IDictionary<string, object>? Parameters { get; set; }
Property Value
RequireAllConditions
Gets or sets a value indicating whether all conditions must be met.
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.
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.
int? TimeoutSeconds { get; set; }
Property Value
- int?