Skip to content

Commit

Permalink
Expose project deliverables in pinery_project
Browse files Browse the repository at this point in the history
  • Loading branch information
avarsava committed Jan 15, 2025
1 parent 3203c94 commit 6f717b2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions changes/change_pinery-project.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add deliverables to pinery_project
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

import ca.on.oicr.gsi.shesmu.plugin.input.ShesmuVariable;
import ca.on.oicr.ws.dto.SampleProjectDto;
import java.util.Optional;
import java.util.Set;

public class PineryProjectValue {
private final SampleProjectDto backing;
Expand All @@ -17,6 +19,11 @@ public boolean active() {
return backing.isActive();
}

@ShesmuVariable
public Optional<Set<String>> deliverables() {
return Optional.ofNullable(backing.getDeliverables());
}

@ShesmuVariable
public String name() {
return backing.getName();
Expand Down

0 comments on commit 6f717b2

Please sign in to comment.