
Package org.hl7.fhir.r5.context
Class SimpleWorkerContext.SimpleWorkerContextBuilder
java.lang.Object
org.hl7.fhir.r5.context.SimpleWorkerContext.SimpleWorkerContextBuilder
- Enclosing class:
SimpleWorkerContext
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()fromClassPath(String name) fromDefinitions(Map<String, org.hl7.fhir.utilities.ByteProvider> source, IContextResourceLoader loader, PackageInformation pi) Load the working context from the validation packfromPack(String path, IContextResourceLoader loader) fromPackage(org.hl7.fhir.utilities.npm.NpmPackage pi) fromPackage(org.hl7.fhir.utilities.npm.NpmPackage pi, IContextResourceLoader loader, boolean genSnapshots)
-
Constructor Details
-
SimpleWorkerContextBuilder
public SimpleWorkerContextBuilder()
-
-
Method Details
-
build
- Throws:
IOException
-
fromPackage
public SimpleWorkerContext fromPackage(org.hl7.fhir.utilities.npm.NpmPackage pi) throws IOException, org.hl7.fhir.exceptions.FHIRException - Throws:
IOExceptionorg.hl7.fhir.exceptions.FHIRException
-
fromPackage
public SimpleWorkerContext fromPackage(org.hl7.fhir.utilities.npm.NpmPackage pi, IContextResourceLoader loader, boolean genSnapshots) throws IOException, org.hl7.fhir.exceptions.FHIRException - Throws:
IOExceptionorg.hl7.fhir.exceptions.FHIRException
-
fromPack
public SimpleWorkerContext fromPack(String path) throws IOException, org.hl7.fhir.exceptions.FHIRException Load the working context from the validation pack- Parameters:
path- filename of the validation pack- Returns:
- Throws:
IOExceptionFileNotFoundExceptionorg.hl7.fhir.exceptions.FHIRExceptionException
-
fromPack
public SimpleWorkerContext fromPack(String path, IContextResourceLoader loader) throws IOException, org.hl7.fhir.exceptions.FHIRException - Throws:
IOExceptionorg.hl7.fhir.exceptions.FHIRException
-
fromClassPath
public SimpleWorkerContext fromClassPath() throws IOException, org.hl7.fhir.exceptions.FHIRException- Throws:
IOExceptionorg.hl7.fhir.exceptions.FHIRException
-
fromClassPath
public SimpleWorkerContext fromClassPath(String name) throws IOException, org.hl7.fhir.exceptions.FHIRException - Throws:
IOExceptionorg.hl7.fhir.exceptions.FHIRException
-
fromDefinitions
public SimpleWorkerContext fromDefinitions(Map<String, org.hl7.fhir.utilities.ByteProvider> source, IContextResourceLoader loader, PackageInformation pi) throws IOException, org.hl7.fhir.exceptions.FHIRException- Throws:
IOExceptionorg.hl7.fhir.exceptions.FHIRException
-
fromNothing
- Throws:
org.hl7.fhir.exceptions.FHIRExceptionIOException
-
withDefaultParams
-