1 package com.github.triceo.splitlog.api; 2 3 /** 4 * Various states that a {@link Message} can be in while within the system. 5 */ 6 public enum MessageDeliveryStatus { 7 8 /** 9 * Message fully read and accepted into the {@link LogWatch}. Terminal 10 * state. 11 */ 12 ACCEPTED, 13 /** 14 * Message not yet fully read. Is purely temporary and will be replaced 15 * later, by either {@link #ACCEPTED}, {@link #REJECTED} or 16 * {@link #INCOMPLETE}. 17 */ 18 INCOMING, 19 /** 20 * {@link Follower} terminated before this message could be read fully. 21 * Terminal state. 22 */ 23 INCOMPLETE, 24 /** 25 * The message has been read fully, but rejected by a user-defined message 26 * acceptance filter on a {@link LogWatch}. Terminal state. 27 */ 28 REJECTED; 29 30 }