idmtools.registry.task_specification module¶
-
class
idmtools.registry.task_specification.
TaskSpecification
¶ Bases:
idmtools.registry.plugin_specification.PluginSpecification
,abc.ABC
-
classmethod
get_name
(strip_all: bool = True) → str¶ Get name of plugin. By default we remove the PlatformSpecification portion. :param strip_all: When true, TaskSpecification and TaskSpec is stripped from name. When false only :param Specification and Spec is Stripped:
Returns:
-
get
(configuration: dict) → idmtools.entities.itask.ITask¶ Return a new model using the passed in configuration.
- Parameters
configuration – The INI configuration file to use.
- Returns
The new model.
-
get_type
() → Type[idmtools.entities.itask.ITask]¶
-
classmethod
-
class
idmtools.registry.task_specification.
TaskPlugins
(strip_all: bool = True)¶ Bases:
idmtools.utils.decorators.SingletonMixin
-
get_plugins
() → Set[idmtools.registry.task_specification.TaskSpecification]¶
-
get_plugin_map
() → Dict[str, idmtools.registry.task_specification.TaskSpecification]¶
-