Package org.fairdatapipeline.config
Interface Config
-
@Immutable public interface Config
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
Config.ConfigItem
Read or Write data product items, specified by name, or (only for write items) possibly ending in * for simple globbingstatic interface
Config.ConfigRunMetadata
Defaults and settings for this coderun.static interface
Config.ConfigUseItem
Use-section for a data product.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Optional<java.lang.Boolean>
failOnHashMisMatch()
Ignored at the moment; I think the FAIR-CLI should deal with hash-checking for input files.java.util.List<org.fairdatapipeline.config.ImmutableConfigItem>
readItems()
The config file MAY contain the read section to specify the read data productsorg.fairdatapipeline.config.ImmutableConfigRunMetadata
run_metadata()
The config file MUST contain a run_metadata section to specify the coderun detailsjava.util.List<org.fairdatapipeline.config.ImmutableConfigItem>
writeItems()
The config file MAY contain the write section to specify the write data products
-
-
-
Method Detail
-
failOnHashMisMatch
java.util.Optional<java.lang.Boolean> failOnHashMisMatch()
Ignored at the moment; I think the FAIR-CLI should deal with hash-checking for input files.- Returns:
- boolean fail_on_hash_mismatch
-
run_metadata
org.fairdatapipeline.config.ImmutableConfigRunMetadata run_metadata()
The config file MUST contain a run_metadata section to specify the coderun details- Returns:
ImmutableConfigRunMetadata
the run metadata
-
readItems
java.util.List<org.fairdatapipeline.config.ImmutableConfigItem> readItems()
The config file MAY contain the read section to specify the read data products- Returns:
- List a list of
ImmutableConfigItem
read items
-
writeItems
java.util.List<org.fairdatapipeline.config.ImmutableConfigItem> writeItems()
The config file MAY contain the write section to specify the write data products- Returns:
- List a list of
ImmutableConfigItem
write items
-
-