Allows the server admin (or another plugin) to add or replace the contents of a help topic. A null in either parameter will leave that part of the topic unchanged. In either amending parameter, the string {@literal } is replaced with the existing contents in the help topic. Use this to app
(@Nullable String amendedShortText, @Nullable String amendedFullText)
| 101 | * alone. |
| 102 | */ |
| 103 | public void amendTopic(@Nullable String amendedShortText, @Nullable String amendedFullText) { |
| 104 | shortText = applyAmendment(shortText, amendedShortText); |
| 105 | fullText = applyAmendment(fullText, amendedFullText); |
| 106 | } |
| 107 | |
| 108 | /** |
| 109 | * Developers implementing their own custom HelpTopic implementations can |
no test coverage detected