Skip to content

Commit 3b47ecc

Browse files
committed
doc: complete javadocs for CrateWriter
1 parent 77c4279 commit 3b47ecc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/main/java/edu/kit/datamanager/ro_crate/writer/CrateWriter.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ public class CrateWriter<DESTINATION_TYPE> {
1717
private final GenericWriterStrategy<DESTINATION_TYPE> strategy;
1818
protected ProvenanceManager provenanceManager = new ProvenanceManager();
1919

20+
/**
21+
* Constructs a CrateWriter with a specified strategy for writing crates.
22+
*
23+
* @param strategy the strategy to use for writing crates.
24+
*/
2025
public CrateWriter(GenericWriterStrategy<DESTINATION_TYPE> strategy) {
2126
this.strategy = strategy;
2227
}

0 commit comments

Comments
 (0)