From 5ffeb061f95a5aee3679901de485be47633c94c3 Mon Sep 17 00:00:00 2001 From: Andrei Piankouski Date: Mon, 20 May 2024 12:40:20 +0300 Subject: [PATCH] EPMRPP-90623 || Provide Link to launch via LaunchFinishedPluginEvent --- .../extension/event/LaunchFinishedPluginEvent.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/main/java/com/epam/reportportal/extension/event/LaunchFinishedPluginEvent.java b/src/main/java/com/epam/reportportal/extension/event/LaunchFinishedPluginEvent.java index f95f6bd..d99993b 100644 --- a/src/main/java/com/epam/reportportal/extension/event/LaunchFinishedPluginEvent.java +++ b/src/main/java/com/epam/reportportal/extension/event/LaunchFinishedPluginEvent.java @@ -7,12 +7,23 @@ public class LaunchFinishedPluginEvent extends LaunchEvent { private final Long projectId; + private String launchLink; + public LaunchFinishedPluginEvent(Long source, Long projectId) { super(source); this.projectId = projectId; } + public LaunchFinishedPluginEvent(Long source, Long projectId, String launchLink) { + this(source, projectId); + this.launchLink = launchLink; + } + public Long getProjectId() { return projectId; } + + public String getLaunchLink() { + return launchLink; + } }