Class FhirInitTask

java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.fhirfrog.frog.ant.FhirInitTask
All Implemented Interfaces:
Cloneable

public class FhirInitTask extends org.apache.tools.ant.Task
Ant task that generates Docker Compose and HAPI FHIR configuration files from an IG's sushi-config.yaml.

Delegates to fhir-frog-server infrastructure classes for all logic. This task is a thin adapter between Ant's lifecycle and the framework-agnostic server configuration library.

Example


 <fhirinit igConfig="sushi-config.yaml"
           fhirVersion="R4"
           outputDir=".fhir-frog"
           imageTag="hapi-erequesting:0.2.0"/>
 
  • Field Summary

    Fields inherited from class org.apache.tools.ant.Task

    target, taskName, taskType, wrapper

    Fields inherited from class org.apache.tools.ant.ProjectComponent

    description, location, project
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    setFhirVersion(String fhirVersion)
     
    void
    setIgConfig(String igConfig)
     
    void
    setImageTag(String imageTag)
     
    void
    setOutputDir(String outputDir)
     

    Methods inherited from class org.apache.tools.ant.Task

    bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType

    Methods inherited from class org.apache.tools.ant.ProjectComponent

    clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • FhirInitTask

      public FhirInitTask()
  • Method Details

    • setIgConfig

      public void setIgConfig(String igConfig)
    • setFhirVersion

      public void setFhirVersion(String fhirVersion)
    • setOutputDir

      public void setOutputDir(String outputDir)
    • setImageTag

      public void setImageTag(String imageTag)
    • execute

      public void execute() throws org.apache.tools.ant.BuildException
      Overrides:
      execute in class org.apache.tools.ant.Task
      Throws:
      org.apache.tools.ant.BuildException