Skip to content

Commit

Permalink
EPMRPP-93641 revert constructors
Browse files Browse the repository at this point in the history
  • Loading branch information
grabsefx committed Nov 13, 2024
1 parent 43dce52 commit 7e0085d
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,15 @@ public class IssueType implements Serializable {
@Column(name = "hex_color", length = 7)
private String hexColor;

public IssueType(IssueGroup issueGroup, String locator, String longName, String shortName,
String hexColor) {
this.issueGroup = issueGroup;
this.locator = locator;
this.longName = longName;
this.shortName = shortName;
this.hexColor = hexColor;
}

@Override
public boolean equals(Object o) {
if (this == o) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,17 @@ public class SenderCase implements Serializable {
@Column(name = "attributes_operator")
private LogicalOperator attributesOperator;


public SenderCase(String ruleName, Set<String> recipients, Set<String> launchNames,
Set<LaunchAttributeRule> launchAttributeRules, SendCase sendCase,
boolean enabled, String type, LogicalOperator attributesOperator) {
this.ruleName = ruleName;
this.recipients = recipients;
this.launchNames = launchNames;
this.launchAttributeRules = launchAttributeRules;
this.sendCase = sendCase;
this.enabled = enabled;
this.type = type;
this.attributesOperator = attributesOperator;
}
}

0 comments on commit 7e0085d

Please sign in to comment.