All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.arextest.schedule.model.bizlog.ReplayBizLogQueryCondition Maven / Gradle / Ivy

There is a newer version: 1.2.20
Show newest version
package com.arextest.schedule.model.bizlog;

import java.util.List;
import java.util.Optional;
import lombok.Data;

/**
 * Created by Qzmo on 2023/6/8
 */
@Data
public class ReplayBizLogQueryCondition {

  private Integer pageNum;
  private Integer pageSize;
  private List levels;
  private List types;
  private List actionItems;
  private Boolean resumedExecution;

  public void validate() {
    this.pageNum = Optional.ofNullable(this.getPageNum()).filter(i -> i > 0).orElse(1);
    this.pageSize = Optional.ofNullable(this.getPageSize()).filter(i -> i > 0).orElse(100);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy