From 20e92dd47be83f58b1842136349550d874012053 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20R=C3=B6gner?= Date: Thu, 30 Jan 2025 16:27:54 +0100 Subject: [PATCH] Add further helper constructor to InputSet record MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Benjamin Rögner --- .../src/main/java/com/here/xyz/jobs/steps/Step.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xyz-jobs/xyz-job-steps/src/main/java/com/here/xyz/jobs/steps/Step.java b/xyz-jobs/xyz-job-steps/src/main/java/com/here/xyz/jobs/steps/Step.java index fa3b1f2d9..a6a00c12b 100644 --- a/xyz-jobs/xyz-job-steps/src/main/java/com/here/xyz/jobs/steps/Step.java +++ b/xyz-jobs/xyz-job-steps/src/main/java/com/here/xyz/jobs/steps/Step.java @@ -623,6 +623,11 @@ public InputSet(OutputSet outputSetOfOtherStep) { this(outputSetOfOtherStep.getStepId(), outputSetOfOtherStep.name, outputSetOfOtherStep.modelBased); } + public InputSet(OutputSet outputSetOfOtherStep, Map metadata) { + this(outputSetOfOtherStep.getJobId(), outputSetOfOtherStep.getStepId(), outputSetOfOtherStep.name, outputSetOfOtherStep.modelBased, + metadata); + } + /** * Use this constructor to depict the global / user inputs of the same job the consuming step belongs to. */