Class SandboxHelpers

java.lang.Object
org.diabetestechnology.drh.service.http.SandboxHelpers

@Service public class SandboxHelpers extends Object
  • Constructor Details

    • SandboxHelpers

      public SandboxHelpers(@Value("${upi.ws.editor:#{null}}") String editor, @Value("${upi.ws.editor.vscode.remote.distro:#{null}}") String distro, @Value("${upi.ws.editor.vscode.remote.hostname:#{null}}") String hostname)
  • Method Details

    • isEditorAvailable

      public boolean isEditorAvailable()
    • getEditorUrl

      public static String getEditorUrl(SandboxHelpers.VsCodeEditor vsCodeEditor, String absoluteFilePath)
    • getEditorUrlFromAbsolutePath

      public String getEditorUrlFromAbsolutePath(String absoluteFilePath)
    • getEditorUrl

      public String getEditorUrl(URL url)