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. package com.sun.mirror.apt;
  8. /**
  9. * Represents the status of a completed round of annotation processing.
  10. *
  11. * @author Joseph D. Darcy
  12. * @author Scott Seligman
  13. * @version 1.1 04/06/25
  14. * @since 1.5
  15. */
  16. public interface RoundState {
  17. /**
  18. * Returns <tt>true</tt> if this was the last round of annotation
  19. * processing; returns <tt>false</tt> if there will be a subsequent round.
  20. */
  21. boolean finalRound();
  22. /**
  23. * Returns <tt>true</tt> if an error was raised in this round of processing;
  24. * returns <tt>false</tt> otherwise.
  25. */
  26. boolean errorRaised();
  27. /**
  28. * Returns <tt>true</tt> if new source files were created in this round of
  29. * processing; returns <tt>false</tt> otherwise.
  30. */
  31. boolean sourceFilesCreated();
  32. /**
  33. * Returns <tt>true</tt> if new class files were created in this round of
  34. * processing; returns <tt>false</tt> otherwise.
  35. */
  36. boolean classFilesCreated();
  37. }