#535: GroovyExecutor.java
projectforge-business/src/main/java/org/projectforge/business/scripting/GroovyExecutor.java Type: Java Executor · Purpose: Execution runner orchestrating background processing tasks. · Source: projectforge-business/src/main/java/org/projectforge/business/scripting/GroovyExecutor.java 193 lines · 137 code · 42 comments · 14 blank
Execution runner orchestrating background processing tasks.
Class: GroovyExecutor
Annotations
@Service, @SuppressWarnings, @Override
Methods
| Name | Return Type | Access |
execute() | ScriptExecutionResult | public |
executeTemplate() | String | public |
executeTemplate() | String | public |
compileGroovy() | Script | public |
compileGroovy() | Script | public |
loadClass() | Class | public |
execute() | ScriptExecutionResult | public |
execute() | ScriptExecutionResult | public |
execute() | ScriptExecutionResult | public |
securityChecks() | void | private |
Architecture Analysis
Resides in projectforge-business, the core module containing domain logic, services, and persistence. Typically annotated with @Service or @Component, managed by the Spring IoC container with dependency injection.
Git History
| Commit | What changed |
|---|
868d6abb75 | 2025 -> 2026 |
63081666f6 | Source file headers: 2024-> 2025. |
aeff942b5b | Script execution improved (logging for end user). DynamicTable.jsx: (refresh implementation fixed, refreshMethod is now supported.) |
67ce75fe95 | Migration stuff in progress... |
b6092df092 | Copyright 2023 -> 2024 |
ab45d51fa4 | Copyright 2001-2022 -> 2001-2023. |
d37760c3eb | Scripting refactored. |
e277b1d5bc | WIP scripting... |
a080e9dd57 | WIP scripting... |
5f7ef41b8c | Copyright 2021 -> 2022 |
ceb63e8a1b | Source code header: (C) 2001-2021. |
c5aa8210b5 | WIP: Support of Kotlin scripts added in addition to Groovy... |
7c79f1922c | Copyright of source header -> 2020. |
24019a0f57 | Eliminate DateHolder occurences |
73a9755df7 | More code cleanup: - Collapsed catch blocks that did the exact same things - Replaced ArrayList with ArrayList<> - Replaced StringBuffer with StringBuilder - Removed a few usages of deprecated classes (mainly HSSFColors in Excel) - Replace Collections.sort with List.sort |
32f634b88f | Optimize imports |
000ca723d8 | Remove pointless boolean expressions (business) |
dd5ca38acd | CopyRight of all java file-header updated or created. |
a5bbdca6aa | Change logger to slf4j |
f979e8a429 | MGC-UPDATE: Update auf Version 3.0.0-SNAPSHOT |
9ebb885224 | Initial commit |