Package megamek.common.interfaces
Interface ReportEntry
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
DividerEntry,EntityNameReportEntry,FormationReportEntry,LinkEntry,PlayerNameReportEntry,PublicReportEntry,Report,ReportEntryWithAnchor,RollReportEntry,SBFFormationReportEntry,SBFInitiativeRollReportEntry,SBFPlayerNameReportEntry,SBFPublicReportEntry,SBFReportEntry,SBFReportHeader,SBFRollReportEntry,SBFUnitReportEntry,SummaryPlaceholderEntry,UnitReportEntry
-
Method Summary
Modifier and TypeMethodDescriptionAdds the result of the given roll to this ReportEntry.text()Get the report in its final HTML form, with all the necessary substitutions made.
-
Method Details
-
text
String text()Get the report in its final HTML form, with all the necessary substitutions made.- Returns:
- a HTML String with the final report
-
addRoll
Adds the result of the given roll to this ReportEntry. Returns this ReportEntry to allow chaining calls.- Parameters:
roll- The roll to add- Returns:
- this ReportEntry
-