
org.daisy.pipeline.client.models.Message Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of clientlib-java Show documentation
Show all versions of clientlib-java Show documentation
A Java library for communicating with the DAISY Pipeline 2.
package org.daisy.pipeline.client.models;
import java.util.Date;
/** A job message. */
public class Message implements Comparable {
public enum Level { ERROR, WARNING, INFO, DEBUG, TRACE };
public Level level;
public Integer sequence;
public String text;
public Integer line;
public Integer column;
public String timeStamp;
public String file;
public Date timeStampDate() {
// TODO: if timeStamp is actually exposed through the web api (I don't think it currently is), then this method might be useful.
return null;
}
@Override
public int compareTo(Message other) {
return this.sequence - other.sequence;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy