Package org.kohsuke.stapler
Interface ScriptExecutor<S>
- Type Parameters:
S
- script type
public interface ScriptExecutor<S>
Execution strategy for handling views written in other scripting languages.
- Since:
- TODO
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(StaplerRequest2 req, StaplerResponse2 rsp, S script, Object it) Executes the given script on the given node and request, rendering output to the given response.
-
Method Details
-
execute
void execute(@NonNull StaplerRequest2 req, @NonNull StaplerResponse2 rsp, @NonNull S script, @CheckForNull Object it) throws Exception Executes the given script on the given node and request, rendering output to the given response.- Throws:
Exception
-