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

org.daisy.pipeline.client.models.Message Maven / Gradle / Ivy

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