Class TriggerMetadata
- Namespace
- FlowOrchestrator.Core.Abstractions
- Assembly
- FlowOrchestrator.Core.dll
Defines how a flow can be started — its trigger type and associated configuration inputs.
public sealed class TriggerMetadata
- Inheritance
-
TriggerMetadata
- Inherited Members
Properties
Inputs
public IDictionary<string, object?> Inputs { get; set; }
Property Value
Type
The mechanism that fires this trigger.
[JsonConverter(typeof(JsonStringEnumConverter))]
public TriggerType Type { get; set; }
Property Value
Methods
TryGetCronExpression(out string)
Extracts the cronExpression input when this trigger is of type Cron.
public bool TryGetCronExpression(out string cronExpression)