Package it.geosolutions.geobatch.action.scripting

Examples of it.geosolutions.geobatch.action.scripting.ScriptingConfiguration


        if (scriptPath == null) {
            LOGGER.error("Script '"+chartScriptResource.getName()+"' has a null path");
            return;
        }

        ScriptingConfiguration scriptConf = new ScriptingConfiguration("id","Script: " + chartScriptResource.getName(), "Descr: " + chartScriptResource.getDescription());
//        scriptConf.setWorkingDirectory(tempDir.getAbsolutePath()); // TODO checkme
        scriptConf.setLanguage("groovy");
        scriptConf.setScriptFile(scriptPath);
      scriptConf.setProperties(properties);

//        ScriptingService scriptService = new ScriptingService("scriptId","scriptName","scriptDescr");
//        if (!scriptService.canCreateAction(scriptConf))
//            throw new IllegalArgumentException("The arguments for the ScriptingAction are not complete or illegal");
View Full Code Here

TOP

Related Classes of it.geosolutions.geobatch.action.scripting.ScriptingConfiguration

Copyright © 2018 www.massapicom. 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.