Skip to content

Commit

Permalink
Merge pull request #445 from paychex/feature/JENKINS-72958
Browse files Browse the repository at this point in the history
[JENKINS-72958] expose primary field to REST API
  • Loading branch information
rsandell committed Apr 23, 2024
2 parents 1554570 + 9b251ab commit af1064e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/jenkins/branch/Branch.java
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ public <T extends BranchProperty> T getProperty(Class<T> clazz) {
* @return the properties.
*/
@NonNull
@Exported
public List<BranchProperty> getProperties() {
return properties;
}
Expand All @@ -218,6 +219,7 @@ public List<BranchProperty> getProperties() {
* @return all the actions
*/
@NonNull
@Exported
public List<Action> getActions() {
return actions == null ? Collections.emptyList() : Collections.unmodifiableList(actions);
}
Expand Down

0 comments on commit af1064e

Please sign in to comment.