Package org.citrusframework.repository
Class BaseRepository
java.lang.Object
org.citrusframework.repository.BaseRepository
- All Implemented Interfaces:
InitializingPhase,Named
Base class for repositories providing common functionality for initializing and managing resources.
Implementations must provide the logic for loading and adding resources to the repository.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidaddRepository(Resource resource) Gets the locations.getName()Gets the name.voidvoidsetLocations(List<String> locations) Sets the locations.void
-
Constructor Details
-
BaseRepository
-
-
Method Details
-
initialize
public void initialize()- Specified by:
initializein interfaceInitializingPhase
-
addRepository
-
setName
-
getName
Gets the name.- Returns:
- the name to get.
-
getLocations
Gets the locations.- Returns:
- the locations to get.
-
setLocations
Sets the locations.- Parameters:
locations- the locations to set
-