Interface IFactBaseRepository
- All Known Implementing Classes:
CachedFactBaseRepository
,MemoryFactBaseRepository
,SimpleFSFactBaseRepository
public interface IFactBaseRepository
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
long
getLastModificationTime
(String factBaseId, String buildArtifact, String tag, boolean snapshot) String[]
getStoredTags
(String factBaseId, String buildArtifact) loadFactBase
(String factBaseId, String buildArtifact, String tag, boolean snapshot) void
storeFactBase
(IFactBase factBase, boolean appendTag, boolean makeSnapshot) store factbase according to the factbase.buildartifact, id and tag
-
Field Details
-
SNAPSHOT
- See Also:
-
-
Method Details
-
storeFactBase
store factbase according to the factbase.buildartifact, id and tag- Parameters:
factBase
-- Throws:
IOException
-
loadFactBase
IFactBase loadFactBase(String factBaseId, String buildArtifact, String tag, boolean snapshot) throws IOException - Parameters:
factBaseId
-buildArtifact
-tag
- - null if tag is ommited (appendTag was set to false by storeFactBase)snapshot
- - if true use SNAPSHOT as tag- Returns:
- factbase
- Throws:
IOException
-
exists
-
getLastModificationTime
-
getStoredTags
-