Package gri.gridp.modules

Examples of gri.gridp.modules.Function.addScript()


      }

      else if (name.equals("script")) {
        Script script = scriptSerializer.readScript(child);
        if (script != null)
          function.addScript(script);
      }

    }

    // validate (set function title to id if absent):
View Full Code Here


      gri.gridp.modules.Script script = new gri.gridp.modules.Script();
      script.setText("myprogram $param");

      Function f = new Function();
      f.addParameter(p);
      f.addScript(script);

      GridpScriptAssistant assist = new GridpScriptAssistant(f, new File("."));
      Map inputs = new HashMap();
      inputs.put("param", "value");
      String s = assist.prepareScript(inputs);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.