Skip to content

Commit

Permalink
EPMRPP-89999 || Add IMPORT to IntegrationGroupEnum
Browse files Browse the repository at this point in the history
  • Loading branch information
pbortnik committed May 14, 2024
1 parent 3c87360 commit 8a4048c
Showing 1 changed file with 12 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,18 @@

public enum IntegrationGroupEnum {

BTS,
NOTIFICATION,
AUTH,
OTHER;
BTS,
NOTIFICATION,
AUTH,
OTHER,
IMPORT;

public static Optional<IntegrationGroupEnum> findByName(String name) {
return Arrays.stream(IntegrationGroupEnum.values()).filter(i -> i.name().equalsIgnoreCase(name)).findAny();
}
public static Optional<IntegrationGroupEnum> findByName(String name) {
return Arrays.stream(IntegrationGroupEnum.values()).filter(i -> i.name().equalsIgnoreCase(name))
.findAny();
}

public static boolean isPresent(String name) {
return findByName(name).isPresent();
}
public static boolean isPresent(String name) {
return findByName(name).isPresent();
}
}

0 comments on commit 8a4048c

Please sign in to comment.