Package org.apache.felix.webconsole
Interface ModeAwareConfigurationPrinter
-
- All Superinterfaces:
ConfigurationPrinter
@Deprecated(since="2021-04-30") public interface ModeAwareConfigurationPrinter extends ConfigurationPrinter
Deprecated.This has been deprecated. Use the org.apache.felix.status API instead.This is an optional extension of theConfigurationPrinter
. If a configuration printer implements this interface, theprintConfiguration(PrintWriter, String)
method is used for printing the configuration instead of theConfigurationPrinter.printConfiguration(PrintWriter)
method. A service implementing this method must still register itself as aConfigurationPrinter
but not as aModeAwareConfigurationPrinter
service.- Since:
- 3.0
-
-
Field Summary
-
Fields inherited from interface org.apache.felix.webconsole.ConfigurationPrinter
MODE_ALWAYS, MODE_TXT, MODE_WEB, MODE_ZIP, PROPERTY_MODES, SERVICE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
printConfiguration(java.io.PrintWriter printWriter, java.lang.String mode)
Deprecated.Prints the configuration report to the givenprintWriter
.-
Methods inherited from interface org.apache.felix.webconsole.ConfigurationPrinter
getTitle, printConfiguration
-
-
-
-
Method Detail
-
printConfiguration
void printConfiguration(java.io.PrintWriter printWriter, java.lang.String mode)
Deprecated.Prints the configuration report to the givenprintWriter
. Implementations are free to print whatever information they deem useful. TheprintWriter
may be flushed but must not be closed.- Parameters:
printWriter
- The print writer to use.mode
- The rendering mode.
-
-