#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

NameReturn TypeAccess
execute()ScriptExecutionResultpublic
executeTemplate()Stringpublic
executeTemplate()Stringpublic
compileGroovy()Scriptpublic
compileGroovy()Scriptpublic
loadClass()Classpublic
execute()ScriptExecutionResultpublic
execute()ScriptExecutionResultpublic
execute()ScriptExecutionResultpublic
securityChecks()voidprivate

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

CommitWhat changed
868d6abb752025 -> 2026
63081666f6Source file headers: 2024-> 2025.
aeff942b5bScript execution improved (logging for end user). DynamicTable.jsx: (refresh implementation fixed, refreshMethod is now supported.)
67ce75fe95Migration stuff in progress...
b6092df092Copyright 2023 -> 2024
ab45d51fa4Copyright 2001-2022 -> 2001-2023.
d37760c3ebScripting refactored.
e277b1d5bcWIP scripting...
a080e9dd57WIP scripting...
5f7ef41b8cCopyright 2021 -> 2022
ceb63e8a1bSource code header: (C) 2001-2021.
c5aa8210b5WIP: Support of Kotlin scripts added in addition to Groovy...
7c79f1922cCopyright of source header -> 2020.
24019a0f57Eliminate DateHolder occurences
73a9755df7More 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
32f634b88fOptimize imports
000ca723d8Remove pointless boolean expressions (business)
dd5ca38acdCopyRight of all java file-header updated or created.
a5bbdca6aaChange logger to slf4j
f979e8a429MGC-UPDATE: Update auf Version 3.0.0-SNAPSHOT
9ebb885224Initial commit