blob: 020564b5fb3c68f564460e96a29fa08bf678c6bb [file] [log] [blame]
package org.apache.zeppelin.interpreter;
import com.google.gson.annotations.SerializedName;
/**
* Interpreter runner path
*/
public class InterpreterRunner {
@SerializedName("linux")
private String linuxPath;
@SerializedName("win")
private String winPath;
public String getPath() {
return System.getProperty("os.name").startsWith("Windows") ? winPath : linuxPath;
}
}