类 PluginInfoElement
java.lang.Object
cn.afternode.commons.bukkit.report.PluginInfoElement
- 所有已实现的接口:
IPluginReportElement
Plugin information (from plugin.yml/PluginDescriptionFile)
- 另请参阅:
-
PluginDescriptionFile
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明build()Build to stringtitle()Title of this element (append to report)withDepends(boolean state) Append dependencies names in plugin.ymlwithLibraries(boolean state) Append libraries in plugin.ymlwithLoadBefore(boolean state) Append load-before names in plugin.ymlwithPluginNotFound(boolean state) Append if dependencies/soft-dependencies/load-before plugins not foundwithSoftDepends(boolean state) Append soft dependencies names in plugin.ymlwithWebsite(boolean state) Append website in plugin.yml
-
构造器详细资料
-
PluginInfoElement
public PluginInfoElement(org.bukkit.plugin.Plugin plugin) Primary constructor- 参数:
plugin- Plugin
-
-
方法详细资料
-
title
从接口复制的说明:IPluginReportElementTitle of this element (append to report)- 指定者:
title在接口中IPluginReportElement- 返回:
- Title
-
withWebsite
Append website in plugin.yml- 参数:
state- State- 返回:
- This element
- 另请参阅:
-
PluginDescriptionFile.getWebsite()
-
withLibraries
Append libraries in plugin.yml- 参数:
state- State- 返回:
- This element
- 另请参阅:
-
PluginDescriptionFile.getLibraries()
-
withDepends
Append dependencies names in plugin.yml- 参数:
state- State- 返回:
- This element
- 另请参阅:
-
PluginDescriptionFile.getDepend()
-
withSoftDepends
Append soft dependencies names in plugin.yml- 参数:
state- State- 返回:
- This element
- 另请参阅:
-
PluginDescriptionFile.getSoftDepend()
-
withLoadBefore
Append load-before names in plugin.yml- 参数:
state- State- 返回:
- This element
- 另请参阅:
-
PluginDescriptionFile.getLoadBefore()
-
withPluginNotFound
Append if dependencies/soft-dependencies/load-before plugins not found- 参数:
state- State- 返回:
- This element
-
build
从接口复制的说明:IPluginReportElementBuild to string- 指定者:
build在接口中IPluginReportElement- 返回:
- Body of this element
-