Package com.github.invictum.reportportal
Class FileStorage
java.lang.Object
com.github.invictum.reportportal.FileStorage
Provides access to shared sync directory. Required for launches merge functionality
-
Constructor Summary
ConstructorsConstructorDescriptionFileStorage(String root) Inits storage in specific location If folder is absent it will be created. -
Method Summary
-
Constructor Details
-
FileStorage
Inits storage in specific location If folder is absent it will be created. Warning: at the end of storage life cycle it will be removed- Parameters:
root- path for storage
-
-
Method Details
-
touch
Creates file in a storage- Parameters:
id- of file to create, usually it is launch ID
-
count
public long count()Checks the count of launch files inside storage -
loadAndClean
Collects the set of launches and removes storage
-