Package org.fairdatapipeline.config
Interface Config
-
@Immutable public interface Config
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceConfig.ConfigItemRead or Write data product items, specified by name, or (only for write items) possibly ending in * for simple globbingstatic interfaceConfig.ConfigRunMetadataDefaults and settings for this coderun.static interfaceConfig.ConfigUseItemUse-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.ImmutableConfigRunMetadatarun_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:
ImmutableConfigRunMetadatathe 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
ImmutableConfigItemread 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
ImmutableConfigItemwrite items
-
-