WorkflowConfig class
Typed runtime view of a workflow definition.
Constructors
- WorkflowConfig({required TrackerWorkflowConfig tracker, required PollingWorkflowConfig polling, required WorkspaceWorkflowConfig workspace, required HooksWorkflowConfig hooks, required AgentWorkflowConfig agent, required CodexWorkflowConfig codex, required ServerWorkflowConfig server})
-
Creates a typed workflow config.
const
-
WorkflowConfig.fromDefinition(WorkflowDefinition definition, {Map<
String, String> ? environment}) -
Builds typed config from a parsed workflow definition.
factory
Properties
- agent → AgentWorkflowConfig
-
Agent scheduling settings.
final
- codex → CodexWorkflowConfig
-
Coding-agent subprocess settings.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hooks → HooksWorkflowConfig
-
Workspace lifecycle hook settings.
final
- polling → PollingWorkflowConfig
-
Polling scheduler settings.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- server → ServerWorkflowConfig
-
Optional local HTTP status/control server settings.
final
- tracker → TrackerWorkflowConfig
-
Issue tracker settings.
final
- workspace → WorkspaceWorkflowConfig
-
Workspace root and path settings.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
requireDispatchable(
) → void - Throws if dispatch-blocking validation fails.
-
toString(
) → String -
A string representation of this object.
inherited
-
validateForDispatch(
) → List< String> - Returns dispatch-blocking validation errors.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
supportedRunners
→ const Set<
String> -
Runner identifiers with an implementation.
codexis reserved for a future Codex app-server runner and must be rejected until it exists, not silently substituted with the LLM runner. -
supportedTrackerKinds
→ const Set<
String> - Tracker kinds supported by the built-in factory.