public void superAddBuildVariable(String value, Map<String, String> map) { super.addBuildVariable(value, map); }
@Override public void addBuildVariable(String value, Map<String, String> map) { initPython(); if (pexec.isImplemented(13)) { pexec.execPythonVoid("add_build_variable", value, map); } else { super.addBuildVariable(value, map); } }
/** * @since 2.1.0 */ @Override protected void customizeBuildVariables(final Map<String, String> vars) { AxisList axes = getParent().getParent().getAxes(); for (Map.Entry<String,String> e : getParent().getCombination().entrySet()) { Axis a = axes.find(e.getKey()); if (a!=null) { a.addBuildVariable(e.getValue(),vars); }else { vars.put(e.getKey(), e.getValue()); } } }
@Override public Map<String,String> getBuildVariables() { Map<String,String> r = super.getBuildVariables(); // pick up user axes AxisList axes = getParent().getParent().getAxes(); for (Map.Entry<String,String> e : getParent().getCombination().entrySet()) { Axis a = axes.find(e.getKey()); if (a!=null) a.addBuildVariable(e.getValue(),r); else r.put(e.getKey(), e.getValue()); } return r; }
@Override public EnvVars getEnvironment(Node node, TaskListener listener) throws IOException, InterruptedException { EnvVars env = super.getEnvironment(node, listener); AxisList axes = getParent().getAxes(); for (Map.Entry<String,String> e : getCombination().entrySet()) { Axis a = axes.find(e.getKey()); if (a!=null) a.addBuildVariable(e.getValue(),env); // TODO: hijacking addBuildVariable but perhaps we need addEnvVar? else env.put(e.getKey(), e.getValue()); } return env; }
/** * @since 2.1.0 */ @Override protected void customizeBuildVariables(final Map<String, String> vars) { AxisList axes = getParent().getParent().getAxes(); for (Map.Entry<String, String> e : getParent().getCombination().entrySet()) { Axis a = axes.find(e.getKey()); if (a != null) { a.addBuildVariable(e.getValue(), vars); } else { vars.put(e.getKey(), e.getValue()); } } }
/** * @since 2.1.0 */ @Override protected void customizeBuildVariables(final Map<String, String> vars) { AxisList axes = getParent().getParent().getAxes(); for (Map.Entry<String,String> e : getParent().getCombination().entrySet()) { Axis a = axes.find(e.getKey()); if (a!=null) { a.addBuildVariable(e.getValue(),vars); }else { vars.put(e.getKey(), e.getValue()); } } }
/** * @since 2.1.0 */ @Override protected void customizeBuildVariables(final Map<String, String> vars) { AxisList axes = getParent().getParent().getAxes(); for (Map.Entry<String,String> e : getParent().getCombination().entrySet()) { Axis a = axes.find(e.getKey()); if (a!=null) { a.addBuildVariable(e.getValue(),vars); }else { vars.put(e.getKey(), e.getValue()); } } }