Skip to content

Commit 5819979

Browse files
dshmayam-seldin
authored andcommitted
us #584004 : Branch Compare : expand SDK (#33)
1 parent 3725ea3 commit 5819979

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

integrations-dto/src/main/java/com/hp/octane/integrations/dto/events/CIEvent.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,4 +83,12 @@ public interface CIEvent extends DTOBase {
8383
Boolean getTestResultExpected();
8484

8585
CIEvent setTestResultExpected(boolean expected);
86+
87+
String getCommonHashId();
88+
89+
CIEvent setCommonHashId(String commonHashId);
90+
91+
String getBranchName();
92+
93+
CIEvent setBranchName(String commonHashId);
8694
}

integrations-dto/src/main/java/com/hp/octane/integrations/dto/events/impl/CIEventImpl.java

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ class CIEventImpl implements CIEvent {
4747
private Boolean testResultExpected;
4848
private String projectDisplayName;
4949
private PhaseType phaseType;
50+
private String commonHashId;
51+
private String branchName;
52+
5053

5154
public PhaseType getPhaseType() {
5255
return phaseType;
@@ -166,6 +169,26 @@ public CIEvent setScmData(SCMData scmData) {
166169
return this;
167170
}
168171

172+
public String getCommonHashId() {
173+
return commonHashId;
174+
}
175+
176+
public CIEvent setCommonHashId(String commonHashId) {
177+
this.commonHashId = commonHashId;
178+
return this;
179+
}
180+
181+
182+
183+
public String getBranchName() {
184+
return branchName;
185+
}
186+
187+
public CIEvent setBranchName(String branchName) {
188+
this.branchName = branchName;
189+
return this;
190+
}
191+
169192
@Override
170193
public Boolean getTestResultExpected() {
171194
return testResultExpected;

0 commit comments

Comments
 (0)