Packages › trotsky › StepBuilder
StepBuilder class
Represents a builder for a sequence of steps. This class is used internally by the Trotsky framework.
Signature:
export declare abstract class StepBuilder
Constructors
Constructor | Modifiers | Description |
---|---|---|
Initializes a new StepBuilder instance. |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
| AtpAgent | Retrieves the current instance. | |
| Step[] | Retrieves a flattened list of all steps, including nested ones. | |
| boolean | Checks if this is a top-level Trotsky instance. | |
| Step[] | Retrieves all steps in the sequence. |
Methods
Method | Modifiers | Description |
---|---|---|
Appends a new step to the sequence. | ||
Applies all steps in the sequence. | ||
Clears all steps from the sequence. | ||
Clones the current instance, including all steps and configuration. | ||
Retreive the configuration value for a given key. | ||
Updates the configuration value for a given key. | ||
Updates the configuration object. | ||
Pushes a step to the sequence. | ||
Runs the sequence of steps, returning the top-level StepBuilder instance. | ||
Runs all steps in the sequence. | ||
Schedules the sequence to run at a given interval. | ||
Adds a step to the sequence. | ||
Updates the agent instance. |