public static String getInput(String s) { return inputMap.get(s); }
public static void setExecStatus(String newStatus, boolean override) { String oldStatus = outputMap.get("exec.status"); if (oldStatus == null || oldStatus.equals("running")) override = true; if (override) putOutput("exec.status", newStatus); }
// Getting input and writing output public static boolean getBooleanInput(String s) { String t = inputMap.get(s, "0"); return t.equals("true") || t.equals("1"); }