Interface IGroovyManagerService
-
- All Known Implementing Classes:
GroovyManagerServiceImpl
public interface IGroovyManagerService- Author:
- Zdenko Imrek
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancheckIfGroovyScriptExists(String scriptName)voidcompile(String script)voidcreateACopy(String source, String target)voidcreateDirectory(String relativePath)byte[]downloadExported()booleanexportSelectedScripts(List<String> scriptsForExport)Map<String,String>getAllGroovyScripts()List<String>getGroovyScriptsList()TreeObjectIdgetGroovyScriptsTree()booleanimportScripts(byte[] zipFile)Stringload(String fileName)Filesave(String name, String script)
-
-
-
Method Detail
-
save
File save(String name, String script) throws CheckGroovyException, org.codehaus.groovy.control.MultipleCompilationErrorsException
- Throws:
CheckGroovyExceptionorg.codehaus.groovy.control.MultipleCompilationErrorsException
-
importScripts
boolean importScripts(byte[] zipFile)
-
downloadExported
byte[] downloadExported()
-
checkIfGroovyScriptExists
boolean checkIfGroovyScriptExists(String scriptName)
-
getGroovyScriptsTree
TreeObjectId getGroovyScriptsTree()
-
compile
void compile(String script) throws CheckGroovyException, org.codehaus.groovy.control.MultipleCompilationErrorsException
- Throws:
CheckGroovyExceptionorg.codehaus.groovy.control.MultipleCompilationErrorsException
-
-