Class FilePreflight
- java.lang.Object
-
- org.linuxforhealth.fhir.operation.bulkdata.config.preflight.impl.NopPreflight
-
- org.linuxforhealth.fhir.operation.bulkdata.config.preflight.impl.FilePreflight
-
- All Implemented Interfaces:
Preflight
public class FilePreflight extends NopPreflight
Preflight is a health check prior to executing the calls on BulkData.
-
-
Constructor Summary
Constructors Constructor Description FilePreflight(java.lang.String source, java.lang.String outcome, java.util.List<Input> inputs, OperationConstants.ExportType exportType, java.lang.String format)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
checkFile(java.lang.String base)
void
checkStorageAllowed(StorageDetail storageDetail)
Checks the storage type is allowed.void
preflight()
The preflight execution checks access to the Source,Outcome.-
Methods inherited from class org.linuxforhealth.fhir.operation.bulkdata.config.preflight.impl.NopPreflight
getExportType, getFormat, getInputs, getOutcome, getSource
-
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.linuxforhealth.fhir.operation.bulkdata.config.preflight.Preflight
checkParquet, preflight
-
-
-
-
Constructor Detail
-
FilePreflight
public FilePreflight(java.lang.String source, java.lang.String outcome, java.util.List<Input> inputs, OperationConstants.ExportType exportType, java.lang.String format)
-
-
Method Detail
-
preflight
public void preflight() throws FHIROperationException
Description copied from interface:Preflight
The preflight execution checks access to the Source,Outcome.- Specified by:
preflight
in interfacePreflight
- Overrides:
preflight
in classNopPreflight
- Throws:
FHIROperationException
-
checkFile
protected void checkFile(java.lang.String base) throws FHIROperationException
- Throws:
FHIROperationException
-
checkStorageAllowed
public void checkStorageAllowed(StorageDetail storageDetail) throws FHIROperationException
Description copied from interface:Preflight
Checks the storage type is allowed.- Specified by:
checkStorageAllowed
in interfacePreflight
- Overrides:
checkStorageAllowed
in classNopPreflight
- Throws:
FHIROperationException
-
-