Package org.fairdatapipeline.config
Interface Config
@Immutable
public interface Config
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceRead or Write data product items, specified by name, or (only for write items) possibly ending in * for simple globbingstatic interfaceDefaults and settings for this coderun.static interfaceUse-section for a data product. -
Method Summary
Modifier and TypeMethodDescriptionIgnored at the moment; I think the FAIR-CLI should deal with hash-checking for input files.List<org.fairdatapipeline.config.ImmutableConfigItem> The config file MAY contain the read section to specify the read data productsorg.fairdatapipeline.config.ImmutableConfigRunMetadataThe config file MUST contain a run_metadata section to specify the coderun detailsList<org.fairdatapipeline.config.ImmutableConfigItem> The config file MAY contain the write section to specify the write data products
-
Method Details
-
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
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
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
-