Class InPluginProcessDumpSingleton
- java.lang.Object
-
- org.apache.maven.plugin.surefire.booterclient.output.InPluginProcessDumpSingleton
-
public final class InPluginProcessDumpSingleton extends java.lang.Object
Reports errors to dump file. Used only within java process of the plugin itself and not the forked JVM.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
creationDate
private static InPluginProcessDumpSingleton
SINGLETON
-
Constructor Summary
Constructors Modifier Constructor Description private
InPluginProcessDumpSingleton()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dumpException(java.lang.Throwable t, java.lang.String msg, DefaultReporterFactory defaultReporterFactory)
java.io.File
dumpException(java.lang.Throwable t, java.lang.String msg, DefaultReporterFactory defaultReporterFactory, int jvmRun)
void
dumpException(java.lang.Throwable t, DefaultReporterFactory defaultReporterFactory)
void
dumpText(java.lang.String msg, DefaultReporterFactory defaultReporterFactory)
java.io.File
dumpText(java.lang.String msg, DefaultReporterFactory defaultReporterFactory, int jvmRun)
static InPluginProcessDumpSingleton
getSingleton()
private java.io.File
newDumpFile(DefaultReporterFactory defaultReporterFactory)
private static java.io.File
newDumpFile(DefaultReporterFactory defaultReporterFactory, int jvmRun)
-
-
-
Field Detail
-
SINGLETON
private static final InPluginProcessDumpSingleton SINGLETON
-
creationDate
private final java.lang.String creationDate
-
-
Method Detail
-
getSingleton
public static InPluginProcessDumpSingleton getSingleton()
-
dumpException
public java.io.File dumpException(java.lang.Throwable t, java.lang.String msg, DefaultReporterFactory defaultReporterFactory, int jvmRun)
-
dumpException
public void dumpException(java.lang.Throwable t, java.lang.String msg, DefaultReporterFactory defaultReporterFactory)
-
dumpException
public void dumpException(java.lang.Throwable t, DefaultReporterFactory defaultReporterFactory)
-
dumpText
public java.io.File dumpText(java.lang.String msg, DefaultReporterFactory defaultReporterFactory, int jvmRun)
-
dumpText
public void dumpText(java.lang.String msg, DefaultReporterFactory defaultReporterFactory)
-
newDumpFile
private java.io.File newDumpFile(DefaultReporterFactory defaultReporterFactory)
-
newDumpFile
private static java.io.File newDumpFile(DefaultReporterFactory defaultReporterFactory, int jvmRun)
-
-