Class PdalDockerModel

java.lang.Object
org.hortonmachine.gears.libs.modules.HMModel
org.hortonmachine.modules.docker.PdalDockerModel
Direct Known Subclasses:
PdalConverterLas2Gltf, PdalFilterElm, PdalFilterOutliers, PdalFilterPmf, PdalFilterRange, PdalFilterReturns, PdalFilterSmrf, PdalInfo, PdalInstaller

public class PdalDockerModel extends org.hortonmachine.gears.libs.modules.HMModel
Author:
hydrologis
  • Field Details

  • Constructor Details

    • PdalDockerModel

      public PdalDockerModel()
  • Method Details

    • startContainer

      protected void startContainer(String volumePath) throws Exception
      Throws:
      Exception
    • checkDockerInstall

      protected String checkDockerInstall()
      Checks if docker client is initialized and if not, inits it. If it can't init it: it returns an error string, else null.
    • hasImage

      protected String hasImage()
    • pullImage

      protected void pullImage(org.hortonmachine.gears.libs.monitor.IHMProgressMonitor pm) throws Exception
      Throws:
      Exception
    • removeImage

      protected void removeImage(String id)
    • execCommand

      public void execCommand(String command) throws Exception
      Throws:
      Exception
    • closeClient

      public void closeClient() throws Exception
      Throws:
      Exception
    • getPipelineFile

      public File getPipelineFile(File workspaceFile, String filterJson) throws IOException
      Throws:
      IOException
    • getPipelineJson

      public String getPipelineJson(String inName, String outName, org.json.JSONObject... filters)