@Nullable
    public static EventAction createAction(@NotNull String code) {
      return switch (code) {
        case REVERTED_CODE -> EventAction.REVERT;
        case FAILED_TO_REVERT_CODE -> EventAction.FAILED_REVERT;
        case SKIPPED_CODE -> EventAction.SKIP;
        default -> null;
      };
    }
@Nullable
    public static EventAction createAction(@NotNull String code)