1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-06-27 02:33:26 +01:00

Job spec tree: Added a common base for workloads and sections

Added "JobSpecSource" as a base class for both section tree nodes and
workload entries. This adds a common interface between them for:
 - Resolving names
 - Storing configuration
 - References to parents
 - Getting IDs out of configuration
This commit is contained in:
Sebastian Goscik
2016-08-12 10:19:51 +01:00
parent b0e500e2a8
commit df17f79142
2 changed files with 45 additions and 9 deletions
wlauto/core/configuration

@ -20,7 +20,7 @@ from wlauto.exceptions import ConfigError
from wlauto.utils.misc import (get_article, merge_config_values)
from wlauto.utils.types import (identifier, integer, boolean,
list_of_strings, toggle_set)
from wlauto.core.configuration.tree import Node
from wlauto.core.configuration.tree import SectionNode
##########################
### CONFIG POINT TYPES ###