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 voidcheckFile(java.lang.String base)voidcheckStorageAllowed(StorageDetail storageDetail)Checks the storage type is allowed.voidpreflight()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 FHIROperationExceptionDescription copied from interface:PreflightThe preflight execution checks access to the Source,Outcome.- Specified by:
preflightin interfacePreflight- Overrides:
preflightin 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:PreflightChecks the storage type is allowed.- Specified by:
checkStorageAllowedin interfacePreflight- Overrides:
checkStorageAllowedin classNopPreflight- Throws:
FHIROperationException
-
-