Class TransactionManagerTraceArrayMarkdownLogRenderer
java.lang.Object
org.jpos.log.render.markdown.TransactionManagerTraceArrayMarkdownLogRenderer
- All Implemented Interfaces:
LogRenderer<TransactionManager.Trace[]>
public final class TransactionManagerTraceArrayMarkdownLogRenderer
extends Object
implements LogRenderer<TransactionManager.Trace[]>
Markdown renderer that emits an array of
TransactionManager.Trace entries as a Mermaid gitGraph.-
Nested Class Summary
Nested classes/interfaces inherited from interface LogRenderer
LogRenderer.TypeModifier and TypeInterfaceDescriptionstatic enumSupported log output format types. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor; no instance state to initialise. -
Method Summary
Modifier and TypeMethodDescriptionClass<?> clazz()Returns the class this renderer handles.voidrender(TransactionManager.Trace[] traces, PrintStream ps, String indent) Renders the given object to the print stream with the specified indentation.type()Returns the log event type this renderer handles.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface LogRenderer
indent, render, render, renderModifier and TypeMethodDescriptiondefault StringPrependsindentto each line ofs.default Stringrender(TransactionManager.Trace[] obj) Renders the given object to a string with no indentation.default voidrender(TransactionManager.Trace[] obj, PrintStream ps) Renders the given object to the print stream with no indentation.default Stringrender(TransactionManager.Trace[] obj, String indent) Renders the given object to a string with the specified indentation.
-
Constructor Details
-
TransactionManagerTraceArrayMarkdownLogRenderer
Default constructor; no instance state to initialise.
-
-
Method Details
-
render
Description copied from interface:LogRendererRenders the given object to the print stream with the specified indentation.- Specified by:
renderin interfaceLogRenderer<TransactionManager.Trace[]>- Parameters:
traces- the object to renderps- the output streamindent- indentation prefix
-
clazz
Description copied from interface:LogRendererReturns the class this renderer handles.- Specified by:
clazzin interfaceLogRenderer<TransactionManager.Trace[]>- Returns:
- the handled class
-
type
Description copied from interface:LogRendererReturns the log event type this renderer handles.- Specified by:
typein interfaceLogRenderer<TransactionManager.Trace[]>- Returns:
- the handled event type
-