org.devcake.groovy.remoteconsole.StubScriptExecutionProcessor.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of remoteconsole-groovy Show documentation
Show all versions of remoteconsole-groovy Show documentation
The library allows to create remote console server easily, and run Groovy scripts remotely on the console server.
It supports execution of parts of the script, with all import statements applied.
The library can be used as a standalone remote console server, and as embedded console server.
It contains default implementaiton of Remote Console client, whereas customized implementation is also available.
package org.devcake.groovy.remoteconsole
/**
* Created by IntelliJ IDEA.
* User: Admin
* Date: 30.08.2010
* Time: 0:16:20
* To change this template use File | Settings | File Templates.
*/
class StubScriptExecutionProcessor implements ScriptExecutionProcessor {
void startOutput() { }
void processOutputLine(String outputLine) {
println outputLine
}
void processOutputErrorLine(String outputErrorLine) {
println outputErrorLine
}
void endOutput() { }
void startError() { }
void processErrorLine(String errorLine) {
println errorLine
}
void endError() { }
void startResult() { }
void processResultLine(String resultLine) {
println resultLine
}
void endResult() { }
}