org.apache.felix.ipojo.manipulator
Interface Reporter

All Known Implementing Classes:
EmptyReporter, SystemReporter

public interface Reporter

A Reporter is responsible to handle feedback from within the manipulation process in order to let API consumers deal with errors and warnings.

Author:
Felix Project Team

Method Summary
 void error(java.lang.String message, java.lang.Object... args)
          Add a message in the error list.
 java.util.List<java.lang.String> getErrors()
           
 java.util.List<java.lang.String> getWarnings()
           
 void info(java.lang.String message, java.lang.Object... args)
          Add an informative message It accepts a Throwable as last argument.
 void trace(java.lang.String message, java.lang.Object... args)
          Add aa trace message It accepts a Throwable as last argument.
 void warn(java.lang.String message, java.lang.Object... args)
          Add a message in the warning list.
 

Method Detail

trace

void trace(java.lang.String message,
           java.lang.Object... args)
Add aa trace message It accepts a Throwable as last argument.

Parameters:
message - trace message.
args - message's argument

info

void info(java.lang.String message,
          java.lang.Object... args)
Add an informative message It accepts a Throwable as last argument.

Parameters:
message - info message.
args - message's argument

warn

void warn(java.lang.String message,
          java.lang.Object... args)
Add a message in the warning list. It accepts a Throwable as last argument.

Parameters:
message - warning message.
args - message's argument

error

void error(java.lang.String message,
           java.lang.Object... args)
Add a message in the error list. It accepts a Throwable as last argument.

Parameters:
message - error message.
args - message's argument

getErrors

java.util.List<java.lang.String> getErrors()
Returns:
all the errors (fatal) reported by the manipulation process.

getWarnings

java.util.List<java.lang.String> getWarnings()
Returns:
all the warnings (non fatal) reported by the manipulation process.


Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.