Package io.mats3.localinspect
Class LocalHtmlInspectForMatsFactoryImpl
java.lang.Object
io.mats3.localinspect.LocalHtmlInspectForMatsFactoryImpl
- All Implemented Interfaces:
LocalHtmlInspectForMatsFactory
public class LocalHtmlInspectForMatsFactoryImpl
extends Object
implements LocalHtmlInspectForMatsFactory
Implementation of
LocalHtmlInspectForMatsFactory
.-
Method Summary
Modifier and TypeMethodDescriptioncreate
(MatsFactory matsFactory) Creates thestandard implementation
of this interface.void
createEndpointReport
(Appendable out, MatsEndpoint<?, ?> matsEndpoint, boolean includeStages) Creates the report of a single endpoint.void
createFactoryReport
(Appendable out, boolean includeInitiators, boolean includeEndpoints, boolean includeStages) Creates the full MatsFactory HTML report.void
createFactorySummary
(Appendable out, boolean includeInitiators, boolean includeEndpoints) Creates the "Summary table" which is a part of the factory report - it may be interesting to embed on a different page without the entire factory report.void
createInitiatorReport
(Appendable out, MatsInitiator matsInitiator) Creates the report of a single initiator.void
createStageReport
(Appendable out, MatsStage<?, ?, ?> matsStage) Creates the report of a single stage.void
getJavaScript
(Appendable out) Note: The return from this method is static, and should only be included once per HTML page, no matter how many MatsFactories you display.void
getStyleSheet
(Appendable out) Note: The return from this method is static, and should only be included once per HTML page, no matter how many MatsFactories you display.
-
Method Details
-
create
Description copied from interface:LocalHtmlInspectForMatsFactory
Creates thestandard implementation
of this interface. -
getStyleSheet
Note: The return from this method is static, and should only be included once per HTML page, no matter how many MatsFactories you display.- Specified by:
getStyleSheet
in interfaceLocalHtmlInspectForMatsFactory
- Throws:
IOException
-
getJavaScript
Note: The return from this method is static, and should only be included once per HTML page, no matter how many MatsFactories you display.- Specified by:
getJavaScript
in interfaceLocalHtmlInspectForMatsFactory
- Throws:
IOException
-
createFactoryReport
public void createFactoryReport(Appendable out, boolean includeInitiators, boolean includeEndpoints, boolean includeStages) throws IOException Description copied from interface:LocalHtmlInspectForMatsFactory
Creates the full MatsFactory HTML report.- Specified by:
createFactoryReport
in interfaceLocalHtmlInspectForMatsFactory
- Parameters:
out
- where to output the HTMLincludeInitiators
- whether to include the initiators in the reportincludeEndpoints
- whether to include the endpoints in the reportincludeStages
- whether to include the stages of the endpoints in the report- Throws:
IOException
- if the Appendable throws while being output to.
-
createFactorySummary
public void createFactorySummary(Appendable out, boolean includeInitiators, boolean includeEndpoints) throws IOException Description copied from interface:LocalHtmlInspectForMatsFactory
Creates the "Summary table" which is a part of the factory report - it may be interesting to embed on a different page without the entire factory report.- Specified by:
createFactorySummary
in interfaceLocalHtmlInspectForMatsFactory
- Parameters:
out
- where to output the HTMLincludeInitiators
- whether to include the initiators in the reportincludeEndpoints
- whether to include the endpoints in the report- Throws:
IOException
- if the Appendable throws while being output to.
-
createInitiatorReport
Description copied from interface:LocalHtmlInspectForMatsFactory
Creates the report of a single initiator.- Specified by:
createInitiatorReport
in interfaceLocalHtmlInspectForMatsFactory
- Throws:
IOException
-
createEndpointReport
public void createEndpointReport(Appendable out, MatsEndpoint<?, ?> matsEndpoint, boolean includeStages) throws IOExceptionDescription copied from interface:LocalHtmlInspectForMatsFactory
Creates the report of a single endpoint.- Specified by:
createEndpointReport
in interfaceLocalHtmlInspectForMatsFactory
- Throws:
IOException
-
createStageReport
Description copied from interface:LocalHtmlInspectForMatsFactory
Creates the report of a single stage.- Specified by:
createStageReport
in interfaceLocalHtmlInspectForMatsFactory
- Throws:
IOException
-