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 TypeMethodDescriptionbooleanlonggetLastModificationTime(String factBaseId, String buildArtifact, String tag, boolean snapshot) String[]getStoredTags(String factBaseId, String buildArtifact) loadFactBase(String factBaseId, String buildArtifact, String tag, boolean snapshot) voidstoreFactBase(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:
loadFactBasein interfaceIFactBaseRepositorytag- - 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:IFactBaseRepositorystore factbase according to the factbase.buildartifact, id and tag- Specified by:
storeFactBasein interfaceIFactBaseRepository- Throws:
IOException
-
exists
- Specified by:
existsin interfaceIFactBaseRepository
-
getLastModificationTime
public long getLastModificationTime(String factBaseId, String buildArtifact, String tag, boolean snapshot) - Specified by:
getLastModificationTimein interfaceIFactBaseRepository
-
getStoredTags
- Specified by:
getStoredTagsin interfaceIFactBaseRepository
-