Interface ReporterInfo

All Known Subinterfaces:
BeanInfo, Info, ModuleBeanInfo, ModuleBeanMultiSocketInfo, ModuleBeanSingleSocketInfo, ModuleBeanSocketInfo, ModuleInfo, MultiSocketBeanInfo, MultiSocketInfo, NestedBeanInfo, OverridableBeanInfo, OverridingSocketBeanInfo, SingleSocketBeanInfo, SingleSocketInfo, SocketBeanInfo, SocketInfo, WrapperBeanInfo
All Known Implementing Classes:
AbstractInfo

public interface ReporterInfo

A reporter info is used to report and track info, warning and error on module's elements and annotations during compilation.

Author:
Jeremy Kuhn
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    error(String message)
    Reports an error on this info.
    boolean
    Indicates whether this info has errors.
    boolean
    Indicates whether this info has warnings.
    void
    warning(String message)
    Reports a warning on this info.
  • Method Details

    • hasError

      boolean hasError()

      Indicates whether this info has errors.

      Returns:
      true if there are errors, false otherwise
    • hasWarning

      boolean hasWarning()

      Indicates whether this info has warnings.

      Returns:
      true if there are warnings, false otherwise
    • error

      void error(String message)

      Reports an error on this info.

      Parameters:
      message - the message to report
    • warning

      void warning(String message)

      Reports a warning on this info.

      Parameters:
      message - the message to report