1 package com.jed.state; 2 3 import org.colapietro.lang.NotImplementedException; 4 5 /** 6 * 7 * @author jlinde, Peter Colapietro 8 * @since 0.1.0 9 * 10 */ 11 public interface State { 12 13 /** 14 * 15 * @throws NotImplementedException NotImplementedException 16 */ 17 void entered() throws NotImplementedException; 18 19 /** 20 * 21 * @throws NotImplementedException NotImplementedException 22 */ 23 void leaving() throws NotImplementedException; 24 25 /** 26 * 27 * @throws NotImplementedException NotImplementedException 28 */ 29 void update() throws NotImplementedException; 30 31 }