All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.databricks.sdk.core.utils.Environment Maven / Gradle / Ivy

There is a newer version: 0.35.0
Show newest version
package com.databricks.sdk.core.utils;

import java.util.Arrays;
import java.util.List;
import java.util.Map;

public class Environment {
  private final Map env;
  private final List path;
  private final String systemName;

  public Environment(Map map, String[] path, String systemName) {
    this(map, Arrays.asList(path), systemName);
  }

  public Environment(Map map, List path, String systemName) {
    this.env = map;
    this.path = path;
    this.systemName = systemName;
  }

  public String get(String key) {
    return env.get(key);
  }

  public Map getEnv() {
    return env;
  }

  public List getPath() {
    return path;
  }

  public String getSystemName() {
    return systemName;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy