868d6abb7 2025 -> 2026
63081666f Source file headers: 2024-> 2025.
5f9bbfbd3 Fix typos in projectforge-business directory
2e9839891 Migration stuff in progress...
8efd50790 Migration stuff in progress...
868d6abb7
2025 -> 2026868d6abb75cd191a892911ac8e45058932cf9074
diff --git a/projectforge-business/src/main/kotlin/org/projectforge/business/scripting/KotlinScriptContext.kt b/projectforge-business/src/main/kotlin/org/projectforge/business/scripting/KotlinScriptContext.kt
index e8485ce66..1f4ecfe66 100644
--- a/projectforge-business/src/main/kotlin/org/projectforge/business/scripting/KotlinScriptContext.kt
+++ b/projectforge-business/src/main/kotlin/org/projectforge/business/scripting/KotlinScriptContext.kt
@@ -3,7 +3,7 @@
// Project ProjectForge Community Edition
// www.projectforge.org
//
-// Copyright (C) 2001-2025 Micromata GmbH, Germany (www.micromata.com)
+// Copyright (C) 2001-2026 Micromata GmbH, Germany (www.micromata.com)
//
// ProjectForge is dual-licensed.
//
63081666f
Source file headers: 2024-> 2025.63081666f620fb87315f01b817e560e0b2f6a33a
diff --git a/projectforge-business/src/main/kotlin/org/projectforge/business/scripting/KotlinScriptContext.kt b/projectforge-business/src/main/kotlin/org/projectforge/business/scripting/KotlinScriptContext.kt
index bfeef7b1c..e8485ce66 100644
--- a/projectforge-business/src/main/kotlin/org/projectforge/business/scripting/KotlinScriptContext.kt
+++ b/projectforge-business/src/main/kotlin/org/projectforge/business/scripting/KotlinScriptContext.kt
@@ -3,7 +3,7 @@
// Project ProjectForge Community Edition
// www.projectforge.org
//
-// Copyright (C) 2001-2024 Micromata GmbH, Germany (www.micromata.com)
+// Copyright (C) 2001-2025 Micromata GmbH, Germany (www.micromata.com)
//
// ProjectForge is dual-licensed.
//
5f9bbfbd3
Fix typos in projectforge-business directory5f9bbfbd372a85f39c89de392a8565c5370a95cb
diff --git a/projectforge-business/src/main/kotlin/org/projectforge/business/scripting/KotlinScriptContext.kt b/projectforge-business/src/main/kotlin/org/projectforge/business/scripting/KotlinScriptContext.kt
index c713febc6..bfeef7b1c 100644
--- a/projectforge-business/src/main/kotlin/org/projectforge/business/scripting/KotlinScriptContext.kt
+++ b/projectforge-business/src/main/kotlin/org/projectforge/business/scripting/KotlinScriptContext.kt
@@ -24,7 +24,7 @@
package org.projectforge.business.scripting
/**
- * Workarround for bindings.
+ * Workaround for bindings.
*/
class KotlinScriptContext {
private val propertyValues = mutableMapOf<String, Any?>() 2e9839891
Migration stuff in progress...2e983989165038ac9c14c404576c003d9235f256
diff --git a/projectforge-business/src/main/kotlin/org/projectforge/business/scripting/KotlinScriptContext.kt b/projectforge-business/src/main/kotlin/org/projectforge/business/scripting/KotlinScriptContext.kt
index c17d0abef..c713febc6 100644
--- a/projectforge-business/src/main/kotlin/org/projectforge/business/scripting/KotlinScriptContext.kt
+++ b/projectforge-business/src/main/kotlin/org/projectforge/business/scripting/KotlinScriptContext.kt
@@ -1,3 +1,26 @@
+/////////////////////////////////////////////////////////////////////////////
+//
+// Project ProjectForge Community Edition
+// www.projectforge.org
+//
+// Copyright (C) 2001-2024 Micromata GmbH, Germany (www.micromata.com)
+//
+// ProjectForge is dual-licensed.
+//
+// This community edition is free software; you can redistribute it and/or
+// modify it under the terms of the GNU General Public License as published
+// by the Free Software Foundation; version 3 of the License.
+//
+// This community edition is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+// Public License for more details.
+//
+// You should have received a copy of the GNU General Public License along
+// with this program; if not, see http://www.gnu.org/licenses/.
+//
+/////////////////////////////////////////////////////////////////////////////
+
package org.projectforge.business.scripting
/**
8efd50790
Migration stuff in progress...8efd50790b0f91e05285dcd61c31a15cf61cea0d
diff --git a/projectforge-business/src/main/kotlin/org/projectforge/business/scripting/KotlinScriptContext.kt b/projectforge-business/src/main/kotlin/org/projectforge/business/scripting/KotlinScriptContext.kt
new file mode 100644
index 000000000..c17d0abef
--- /dev/null
+++ b/projectforge-business/src/main/kotlin/org/projectforge/business/scripting/KotlinScriptContext.kt
@@ -0,0 +1,16 @@
+package org.projectforge.business.scripting
+
+/**
+ * Workarround for bindings.
+ */
+class KotlinScriptContext {
+ private val propertyValues = mutableMapOf<String, Any?>()
+
+ fun setProperty(name: String, value: Any?) {
+ propertyValues[name] = value
+ }
+
+ fun getProperty(name: String): Any? {
+ return propertyValues[name]
+ }
+}