RoundState.java revision 0
1583N/A/*
1583N/A * Copyright 2004 Sun Microsystems, Inc. All Rights Reserved.
1583N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
1583N/A *
1583N/A * This code is free software; you can redistribute it and/or modify it
1583N/A * under the terms of the GNU General Public License version 2 only, as
1583N/A * published by the Free Software Foundation. Sun designates this
1583N/A * particular file as subject to the "Classpath" exception as provided
1583N/A * by Sun in the LICENSE file that accompanied this code.
1583N/A *
1583N/A * This code is distributed in the hope that it will be useful, but WITHOUT
1583N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
1583N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
1583N/A * version 2 for more details (a copy is included in the LICENSE file that
1583N/A * accompanied this code).
1583N/A *
1583N/A * You should have received a copy of the GNU General Public License version
1583N/A * 2 along with this work; if not, write to the Free Software Foundation,
1583N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
1583N/A *
1583N/A * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
1583N/A * CA 95054 USA or visit www.sun.com if you need additional information or
1583N/A * have any questions.
1583N/A */
1583N/A
1583N/Apackage com.sun.mirror.apt;
1583N/A
1583N/A/**
1583N/A * Represents the status of a completed round of annotation processing.
1583N/A *
1583N/A * @author Joseph D. Darcy
1583N/A * @author Scott Seligman
1583N/A * @since 1.5
1583N/A */
1583N/Apublic interface RoundState {
1583N/A /**
1583N/A * Returns <tt>true</tt> if this was the last round of annotation
1583N/A * processing; returns <tt>false</tt> if there will be a subsequent round.
1583N/A */
1583N/A boolean finalRound();
1583N/A
1583N/A /**
1583N/A * Returns <tt>true</tt> if an error was raised in this round of processing;
1583N/A * returns <tt>false</tt> otherwise.
1583N/A */
1583N/A boolean errorRaised();
1583N/A
1583N/A /**
1583N/A * Returns <tt>true</tt> if new source files were created in this round of
1583N/A * processing; returns <tt>false</tt> otherwise.
1583N/A */
1583N/A boolean sourceFilesCreated();
1583N/A
1583N/A /**
1583N/A * Returns <tt>true</tt> if new class files were created in this round of
1583N/A * processing; returns <tt>false</tt> otherwise.
1583N/A */
1583N/A boolean classFilesCreated();
1583N/A}
1583N/A