Class RunIdStorage
- java.lang.Object
-
- fr.ens.biologie.genomique.aozan.aozan3.legacy.RunIdStorage
-
public class RunIdStorage extends Object
This class allow to read and write processed run ids.- Since:
- 3.0
- Author:
- Laurent Jourdren
-
-
Constructor Summary
Constructors Constructor Description RunIdStorage(Path runIdStoragePath)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(RunId runId)
Add a run id to the storageSet<RunId>
load()
Load run ids.
-
-
-
Constructor Detail
-
RunIdStorage
public RunIdStorage(Path runIdStoragePath)
Constructor.- Parameters:
runIdStoragePath
- path of the run id storage
-
-
Method Detail
-
load
public Set<RunId> load() throws Aozan3Exception
Load run ids.- Returns:
- a set with the run ids
- Throws:
Aozan3Exception
- occurs while reading the file
-
add
public void add(RunId runId) throws Aozan3Exception
Add a run id to the storage- Parameters:
runId
- the run id to add- Throws:
Aozan3Exception
- if an error occurs while adding the run id to the file
-
-