Source Control Actions (autotransform.step.action.source)
All Actions associated with handling source control options for a Change.
- class autotransform.step.action.source.AbandonAction
Bases:
Action
Abandons an outstanding Change.
- name
The name of the component.
- Type
ClassVar[ActionName]
- name: ClassVar[ActionName] = 'abandon'
- class autotransform.step.action.source.MergeAction
Bases:
Action
Merges an outstanding Change.
- name
The name of the component.
- Type
ClassVar[ActionName]
- name: ClassVar[ActionName] = 'merge'
- class autotransform.step.action.source.NoneAction
Bases:
Action
Performs no task.
- name
The name of the component.
- Type
ClassVar[ActionName]
- name: ClassVar[ActionName] = 'none'
- class autotransform.step.action.source.UpdateAction(*, use_local_runner: bool = False)
Bases:
Action
Updates an outstanding Change.
- use_local_runner
Whether to use the local runner. Defaults to False.
- Type
optional, bool
- name
The name of the component.
- Type
ClassVar[ActionName]
- name: ClassVar[ActionName] = 'update'
- run(change: Change) bool
Updates a specified Change.
- Parameters
change (Change) – The Change to update.
- Returns
Whether the Change was updated successfully.
- Return type
bool
- use_local_runner: bool