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} or {@link #REJECTED}. 16 */ 17 INCOMING, 18 /** 19 * {@link Follower} terminated before this message could be read fully. 20 * Terminal state. 21 */ 22 @Deprecated 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 }