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

org.redkalex.scheduled.xxljob.LogResult Maven / Gradle / Ivy

There is a newer version: 2.7.7
Show newest version
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