- 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
-
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
Reports an error on this info.
- Parameters:
message- the message to report
-
warning
Reports a warning on this info.
- Parameters:
message- the message to report
-