Class NopPreflight
- java.lang.Object
-
- org.linuxforhealth.fhir.operation.bulkdata.config.preflight.impl.NopPreflight
-
- All Implemented Interfaces:
Preflight
- Direct Known Subclasses:
AzurePreflight
,FilePreflight
,HttpsPreflight
,S3Preflight
public class NopPreflight extends java.lang.Object implements Preflight
For the legacy configurations, we don't want to run the preflight checks. Or the storage type is invalid.
-
-
Constructor Summary
Constructors Constructor Description NopPreflight(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 void
checkStorageAllowed(StorageDetail storageDetail)
Checks the storage type is allowed.protected OperationConstants.ExportType
getExportType()
protected java.lang.String
getFormat()
protected java.util.List<Input>
getInputs()
protected java.lang.String
getOutcome()
The storage provider that provides the destination of the operational outcomes.protected java.lang.String
getSource()
The storage provider that provides the source.void
preflight()
The preflight execution checks access to the Source,Outcome.-
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
-
NopPreflight
public NopPreflight(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
- Throws:
FHIROperationException
-
getSource
protected java.lang.String getSource()
The storage provider that provides the source.- Returns:
-
getOutcome
protected java.lang.String getOutcome()
The storage provider that provides the destination of the operational outcomes.- Returns:
-
getInputs
protected java.util.List<Input> getInputs()
-
getExportType
protected OperationConstants.ExportType getExportType()
-
getFormat
protected java.lang.String getFormat()
-
checkStorageAllowed
public void checkStorageAllowed(StorageDetail storageDetail) throws FHIROperationException
Description copied from interface:Preflight
Checks the storage type is allowed.- Specified by:
checkStorageAllowed
in interfacePreflight
- Throws:
FHIROperationException
-
-