factory
dev_tool.services.execution.factory
ExecutionStrategyFactory
A factory class for creating the appropriate execution strategy.
This class reads the containerized setting from pyproject.toml and returns the corresponding strategy instance.
create
staticmethod
A factory method that creates the appropriate execution strategy.
Parameters:
-
configuration(ConfigManager) –The configuration manager instance.
-
docker_service(DockerService) –The Docker service for container management.
Returns:
-
ExecutionStrategy–The appropriate execution strategy instance.