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