Class ReportBuilder
java.lang.Object
de.eldoria.schematicsanitizer.sanitizer.report.builder.ReportBuilder
The ReportBuilder class is responsible for building a ComponentSanitizerReport object.
It provides methods to access and configure different types of report builders such as EntityReportBuilder,
BlockReportBuilder, BlockNbtReportBuilder, EntityNbtReportBuilder, and LimitReportBuilder.
It also provides a method to set a new path and a method to build the final ComponentSanitizerReport object.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionblock()
Returns the BlockReportBuilder object.blockNbt()
Retrieves the BlockNbtReportBuilder instance.build()
entity()
Retrieves the EntityReportBuilder instance.Retrieves the EntityNbtReportBuilder instance.limit()
Retrieves the LimitReportBuilder instance.void
Sets the new path.
-
Constructor Details
-
ReportBuilder
-
-
Method Details
-
entity
Retrieves the EntityReportBuilder instance.- Returns:
- The EntityReportBuilder instance.
-
block
Returns the BlockReportBuilder object.- Returns:
- The BlockReportBuilder instance.
-
blockNbt
Retrieves the BlockNbtReportBuilder instance.- Returns:
- The BlockNbtReportBuilder instance.
-
entityNbt
Retrieves the EntityNbtReportBuilder instance.- Returns:
- The EntityNbtReportBuilder instance.
-
limit
Retrieves the LimitReportBuilder instance.- Returns:
- The LimitReportBuilder instance.
-
newPath
Sets the new path.- Parameters:
newPath
- The new path to set.
-
build
-