[ARTEMIS-3431]: PrintData is missing a retro-compatible method.

* Adding public static void printData(File bindingsDirectory, File messagesDirectory, File pagingDirectory, PrintStream out, boolean secret) throws Exception

Issue: https://issues.apache.org/jira/browse/ARTEMIS-3431
This commit is contained in:
Emmanuel Hugonnet 2021-08-19 18:50:01 +02:00 committed by clebertsuconic
parent cf312d5b7d
commit 2f74fa1920
1 changed files with 4 additions and 0 deletions

View File

@ -124,6 +124,10 @@ public class PrintData extends DBOption {
printData(bindingsDirectory, messagesDirectory, pagingDirectory, System.out, secret, false); printData(bindingsDirectory, messagesDirectory, pagingDirectory, System.out, secret, false);
} }
public static void printData(File bindingsDirectory, File messagesDirectory, File pagingDirectory, PrintStream out, boolean secret) throws Exception {
printData(bindingsDirectory, messagesDirectory, pagingDirectory, out, secret, false);
}
public static void printData(File bindingsDirectory, File messagesDirectory, File pagingDirectory, PrintStream out, boolean safe, boolean reclaimed) throws Exception { public static void printData(File bindingsDirectory, File messagesDirectory, File pagingDirectory, PrintStream out, boolean safe, boolean reclaimed) throws Exception {
// printing the banner and version // printing the banner and version
Artemis.printBanner(out); Artemis.printBanner(out);