Island: Protract config -> configuration in IConfigurationRepository

This commit is contained in:
Mike Salvatore 2022-06-17 11:11:14 -04:00
parent 59e29456c0
commit 91476a7a06
1 changed files with 4 additions and 4 deletions

View File

@ -3,12 +3,12 @@ from abc import ABC
from common.configuration import AgentConfiguration
class IConfigRepository(ABC):
class IConfigurationRepository(ABC):
"""
A repository used to store and retrieve the agent configuration.
"""
def get_config(self) -> AgentConfiguration:
def get_configuration(self) -> AgentConfiguration:
"""
Retrieve the agent configuration from the repository
@ -16,10 +16,10 @@ class IConfigRepository(ABC):
"""
pass
def set_config(self, agent_config: AgentConfiguration):
def set_configuration(self, agent_configuration: AgentConfiguration):
"""
Store the agent configuration in the repository
:param agent_config: The agent configuration to store in the repository
:param agent_configuration: The agent configuration to store in the repository
"""
pass