Class SimpleFSFactBaseRepository
java.lang.Object
com.polarion.qcentre.factbase.serialization.SimpleFSFactBaseRepository
- All Implemented Interfaces:
IFactBaseRepository
-
Field Summary
Fields inherited from interface com.polarion.qcentre.factbase.serialization.IFactBaseRepository
SNAPSHOT
-
Constructor Summary
Constructors -
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
-
Constructor Details
-
SimpleFSFactBaseRepository
-
-
Method Details
-
loadFactBase
public IFactBase loadFactBase(String factBaseId, String buildArtifact, String tag, boolean snapshot) throws IOException - Specified by:
loadFactBase
in interfaceIFactBaseRepository
tag
- - null if tag is ommited (appendTag was set to false by storeFactBase)snapshot
- - if true use SNAPSHOT as tag- Returns:
- factbase
- Throws:
IOException
-
storeFactBase
public void storeFactBase(IFactBase factBase, boolean appendTag, boolean makeSnapshot) throws IOException Description copied from interface:IFactBaseRepository
store factbase according to the factbase.buildartifact, id and tag- Specified by:
storeFactBase
in interfaceIFactBaseRepository
- Throws:
IOException
-
exists
- Specified by:
exists
in interfaceIFactBaseRepository
-
getLastModificationTime
public long getLastModificationTime(String factBaseId, String buildArtifact, String tag, boolean snapshot) - Specified by:
getLastModificationTime
in interfaceIFactBaseRepository
-
getStoredTags
- Specified by:
getStoredTags
in interfaceIFactBaseRepository
-