Interface IBuildEvents

All Superinterfaces:
IChangeGenerator, IChangeListener, IHasCustomValues, IHasValues, IStructure

public interface IBuildEvents extends IStructure
List of build events.
Version:
$Revision$ $Date$
Author:
Stepan Roh, Polarion Software
  • Field Details

  • Method Details

    • getWarnCount

      int getWarnCount()
      Number of warnings.
      Returns:
      number of warnings
    • getErrorCount

      int getErrorCount()
      Number of errors.
      Returns:
      number of errors
    • getFatalCount

      int getFatalCount()
      Number of fatal errors.
      Returns:
      number of fatal errors
    • getEvents

      List getEvents()
      Reported events.

      Note that normally this does not contain other events than errors and fatal errors.

      Returns:
      List of IBuildEvents (not null)
    • setWarnCount

      void setWarnCount(int count)
      Set number of warnings.
      Parameters:
      count - number of warnings
    • setErrorCount

      void setErrorCount(int count)
      Set number of errors.
      Parameters:
      count - number of errors
    • setFatalCount

      void setFatalCount(int count)
      Set number of fatal errors.
      Parameters:
      count - number of fatal errors
    • addEvent

      void addEvent(IBuildEvent event, boolean updateCounters)
      Add event to the list.

      The event is always added regardless of its severity (no filtering here).

      Parameters:
      event - event
      updateCounters - true if counters should be updated
      Throws:
      IllegalArgumentException - if event is null
    • incWarnCount

      void incWarnCount(int count)
      Increase number of warnings.
      Parameters:
      count - number of warnings
    • incErrorCount

      void incErrorCount(int count)
      Increase number of errors.
      Parameters:
      count - number of errors
    • incFatalCount

      void incFatalCount(int count)
      Increase number of fatal errors.
      Parameters:
      count - number of fatal errors