From 4f586d9f1d51b77bdd461969f67d4256684ae385 Mon Sep 17 00:00:00 2001 From: querdenker2k Date: Wed, 14 Feb 2024 17:36:50 +0100 Subject: [PATCH] fixes --- .../JRuleStartupExecutionContext.java | 5 +++++ .../jrule/rules/event/JRuleStartupEvent.java | 17 +++++++++++++++++ 2 files changed, 22 insertions(+) diff --git a/src/main/java/org/openhab/automation/jrule/internal/engine/excutioncontext/JRuleStartupExecutionContext.java b/src/main/java/org/openhab/automation/jrule/internal/engine/excutioncontext/JRuleStartupExecutionContext.java index e919c76f..8e2cc0d3 100644 --- a/src/main/java/org/openhab/automation/jrule/internal/engine/excutioncontext/JRuleStartupExecutionContext.java +++ b/src/main/java/org/openhab/automation/jrule/internal/engine/excutioncontext/JRuleStartupExecutionContext.java @@ -22,6 +22,11 @@ import org.openhab.core.events.AbstractEvent; import org.openhab.core.events.system.StartlevelEvent; +/** + * The {@link JRuleStartupExecutionContext} - execution context for startup triggers + * + * @author Robert Delbrück + */ public class JRuleStartupExecutionContext extends JRuleExecutionContext { private final int startupLevel; diff --git a/src/main/java/org/openhab/automation/jrule/rules/event/JRuleStartupEvent.java b/src/main/java/org/openhab/automation/jrule/rules/event/JRuleStartupEvent.java index 3296e5f0..653a2b58 100644 --- a/src/main/java/org/openhab/automation/jrule/rules/event/JRuleStartupEvent.java +++ b/src/main/java/org/openhab/automation/jrule/rules/event/JRuleStartupEvent.java @@ -1,5 +1,22 @@ +/** + * Copyright (c) 2010-2023 Contributors to the openHAB project + * + * See the NOTICE file(s) distributed with this work for additional + * information. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0 + * + * SPDX-License-Identifier: EPL-2.0 + */ package org.openhab.automation.jrule.rules.event; +/** + * The {@link JRuleStartupEvent} + * + * @author Robert Delbrück + */ public class JRuleStartupEvent extends JRuleEvent { private final int startupLevel;