Skip to content

Commit

Permalink
Add further helper constructor to InputSet record
Browse files Browse the repository at this point in the history
Signed-off-by: Benjamin Rögner <benjamin.roegner@here.com>
  • Loading branch information
roegi committed Jan 30, 2025
1 parent f95c6c3 commit 20e92dd
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -623,6 +623,11 @@ public InputSet(OutputSet outputSetOfOtherStep) {
this(outputSetOfOtherStep.getStepId(), outputSetOfOtherStep.name, outputSetOfOtherStep.modelBased);
}

public InputSet(OutputSet outputSetOfOtherStep, Map<String, String> 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.
*/
Expand Down

0 comments on commit 20e92dd

Please sign in to comment.