-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added kdoc and disabled wildcard imports
- Loading branch information
1 parent
e38c342
commit c0f5373
Showing
26 changed files
with
283 additions
and
148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1 @@ | ||
root = true | ||
|
||
[*.kt] | ||
ktlint_standard_no-wildcard-imports = disabled |
22 changes: 19 additions & 3 deletions
22
src/integrationTest/java/org/radarbase/output/RestructureS3IntegrationTest.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 6 additions & 1 deletion
7
src/main/java/org/radarbase/output/path/MPPathFormatterPlugin.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
src/main/java/org/radarbase/output/source/DelegatingStorageIndex.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 14 additions & 1 deletion
15
src/main/java/org/radarbase/output/source/MutableStorageIndex.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,20 @@ | ||
package org.radarbase.output.source | ||
|
||
/** Storage index that may be modified by the storage index manager. */ | ||
interface MutableStorageIndex : StorageIndex { | ||
/** | ||
* Add a list of storage nodes to the given directory. | ||
* All values in [nodes] should have [parent] as parent node. No nodes will be removed from the | ||
* current directory listing, but updated values (e.g. last modified values) will be overridden. | ||
* | ||
* @return the current file listing after adding new nodes. | ||
*/ | ||
suspend fun addAll(parent: StorageNode.StorageDirectory, nodes: List<StorageNode>): Collection<StorageNode> | ||
|
||
suspend fun sync(parent: StorageNode.StorageDirectory, nodes: List<StorageNode>): Collection<StorageNode> | ||
/** | ||
* Fully sync a storage node list with the index. | ||
* All values in [nodes] should have [parent] as parent node. All nodes in the index | ||
* corresponding to [parent] will be removed from that directory and replaced by the given list. | ||
*/ | ||
suspend fun sync(parent: StorageNode.StorageDirectory, nodes: List<StorageNode>) | ||
} |
93 changes: 0 additions & 93 deletions
93
src/main/java/org/radarbase/output/source/MutableStorageIndexManager.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.