Interface MockFetcher<T>
-
- All Known Implementing Classes:
AbstractFailingFetcher
,AbstractMockFetcher
,FailingBioactiveEntityFetcher
,FailingCvTermFetcher
,FailingGeneFetcher
,FailingOrganismFetcher
,FailingProteinFetcher
,FailingPublicationFetcher
,MockBioactiveEntityFetcher
,MockCvTermFetcher
,MockGeneFetcher
,MockOrganismFetcher
,MockProteinFetcher
,MockPublicationFetcher
public interface MockFetcher<T>
Created with IntelliJ IDEA.- Since:
- 07/08/13
- Author:
- Gabriel Aldam (galdam@ebi.ac.uk)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addEntry(String identifier, T entry)
Adds an entry to the mock fetcher's internal fetching list with a given identifier as the key.void
clearEntries()
Clears all entries from the mock fetcher's internal fetching list.void
removeEntry(String identifier)
Removes an entry from the
-
-
-
Method Detail
-
addEntry
void addEntry(String identifier, T entry)
Adds an entry to the mock fetcher's internal fetching list with a given identifier as the key.- Parameters:
identifier
- Identifier of the entry to add.entry
- Entry to add.
-
removeEntry
void removeEntry(String identifier)
Removes an entry from the- Parameters:
identifier
- Identifier for the entry to be removed.
-
clearEntries
void clearEntries()
Clears all entries from the mock fetcher's internal fetching list.
-
-