Class S3Preflight
- java.lang.Object
-
- com.ibm.fhir.operation.bulkdata.config.preflight.impl.NopPreflight
-
- com.ibm.fhir.operation.bulkdata.config.preflight.impl.S3Preflight
-
- All Implemented Interfaces:
Preflight
public class S3Preflight extends NopPreflight
Checks the S3 Configuration.
-
-
Field Summary
-
Fields inherited from class com.ibm.fhir.operation.bulkdata.config.preflight.impl.NopPreflight
util
-
-
Constructor Summary
Constructors Constructor Description S3Preflight(String source, String outcome, List<Input> inputs, OperationConstants.ExportType exportType, String format)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
checkParquet()
checks parquet is enabled for this typevoid
checkStorageAllowed(StorageDetail storageDetail)
Checks the storage type is allowed.void
preflight()
The preflight execution checks access to the Source,Outcome.void
validate(String source)
validates the s3 is properly configured.-
Methods inherited from class com.ibm.fhir.operation.bulkdata.config.preflight.impl.NopPreflight
getExportType, getFormat, getInputs, getOutcome, getSource
-
-
-
-
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
-
validate
public void validate(String source) throws FHIROperationException
validates the s3 is properly configured.- Parameters:
source
-- 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
-
checkParquet
public boolean checkParquet()
Description copied from interface:Preflight
checks parquet is enabled for this type- Returns:
-
-