1 /* 2 * @(#)RoundState.java 1.1 04/06/25 3 * 4 * Copyright 2004 Sun Microsystems, Inc. All rights reserved. 5 * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 6 */ 7 8 package com.sun.mirror.apt; 9 10 /** 11 * Represents the status of a completed round of annotation processing. 12 * 13 * @author Joseph D. Darcy 14 * @author Scott Seligman 15 * @version 1.1 04/06/25 16 * @since 1.5 17 */ 18 public interface RoundState { 19 /** 20 * Returns <tt>true</tt> if this was the last round of annotation 21 * processing; returns <tt>false</tt> if there will be a subsequent round. 22 */ 23 boolean finalRound(); 24 25 /** 26 * Returns <tt>true</tt> if an error was raised in this round of processing; 27 * returns <tt>false</tt> otherwise. 28 */ 29 boolean errorRaised(); 30 31 /** 32 * Returns <tt>true</tt> if new source files were created in this round of 33 * processing; returns <tt>false</tt> otherwise. 34 */ 35 boolean sourceFilesCreated(); 36 37 /** 38 * Returns <tt>true</tt> if new class files were created in this round of 39 * processing; returns <tt>false</tt> otherwise. 40 */ 41 boolean classFilesCreated(); 42 } 43