org.snapscript.core.NoExecution Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of snap Show documentation
Show all versions of snap Show documentation
Dynamic scripting for the JVM
package org.snapscript.core;
import org.snapscript.core.result.Result;
import org.snapscript.core.scope.Scope;
public class NoExecution extends Execution {
private final Result result;
public NoExecution(Result result) {
this.result = result;
}
@Override
public Result execute(Scope scope) throws Exception {
return result;
}
}