org.redkalex.scheduled.xxljob.LogResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of redkale-plugins Show documentation
Show all versions of redkale-plugins Show documentation
Redkale-Plugins -- java framework
package org.redkalex.scheduled.xxljob;
import java.io.Serializable;
import org.redkale.convert.json.JsonConvert;
/** Created by xuxueli on 17/3/23. */
public class LogResult implements Serializable {
private static final long serialVersionUID = 42L;
private int fromLineNum;
private int toLineNum;
private String logContent;
private boolean isEnd;
public LogResult() {}
public LogResult(int fromLineNum, int toLineNum, String logContent, boolean isEnd) {
this.fromLineNum = fromLineNum;
this.toLineNum = toLineNum;
this.logContent = logContent;
this.isEnd = isEnd;
}
public int getFromLineNum() {
return fromLineNum;
}
public void setFromLineNum(int fromLineNum) {
this.fromLineNum = fromLineNum;
}
public int getToLineNum() {
return toLineNum;
}
public void setToLineNum(int toLineNum) {
this.toLineNum = toLineNum;
}
public String getLogContent() {
return logContent;
}
public void setLogContent(String logContent) {
this.logContent = logContent;
}
public boolean isEnd() {
return isEnd;
}
public void setEnd(boolean end) {
isEnd = end;
}
@Override
public String toString() {
return JsonConvert.root().convertTo(this);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy