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 boolean
checkIfGroovyScriptExists(String scriptName)
void
compile(String script)
void
createACopy(String source, String target)
void
createDirectory(String relativePath)
byte[]
downloadExported()
boolean
exportSelectedScripts(List<String> scriptsForExport)
Map<String,String>
getAllGroovyScripts()
List<String>
getGroovyScriptsList()
TreeObjectId
getGroovyScriptsTree()
boolean
importScripts(byte[] zipFile)
String
load(String fileName)
File
save(String name, String script)
-
-
-
Method Detail
-
save
File save(String name, String script) throws CheckGroovyException, org.codehaus.groovy.control.MultipleCompilationErrorsException
- Throws:
CheckGroovyException
org.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:
CheckGroovyException
org.codehaus.groovy.control.MultipleCompilationErrorsException
-
-