- class openssa.deprecated.ooda.task.Task(goal, parent=None)¶
Bases:
object
Represents a task in the OODA (Observe, Orient, Decide, Act) loop.
- Attributes
goal: The goal of the task. subtasks: A list of subtasks associated with the task. parent: The parent task of the current task. ooda_loop: The OODA loop to which the task belongs. result: The result of the task. resources: Additional resources associated with the task.
- class Result(status='pending', response=None, references=None, metrics=None, additional_info=None)¶
Bases:
object
Represents the result of a task.
- Attributes
status: The status of the task result. response: The response generated by the task. references: A list of references related to the task. metrics: Metrics associated with the task. additional_info: Additional information about the task result.
- property result¶
- property status¶
- property ooda_loop¶
- has_ooda_loop()¶
- has_subtasks()¶
- add_subtask(subtask)¶