Package top.focess.qq.api.plugin
Class PluginDescription
- java.lang.Object
-
- top.focess.qq.api.plugin.PluginDescription
-
public class PluginDescription extends Object
The description of plugin.
-
-
Constructor Summary
Constructors Constructor Description PluginDescription(@NotNull top.focess.util.yaml.YamlConfiguration pluginConfig)Constructs a new PluginDescription from the plugin config
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAuthor()List<String>getDependencies()top.focess.util.version.VersiongetLimitVersion()StringgetMain()StringgetName()Map<top.focess.qq.core.permission.Permission,Boolean>getPermissions()top.focess.util.version.VersiongetRequireVersion()List<String>getSoftDependencies()top.focess.util.version.VersiongetVersion()booleanhasPermission(top.focess.qq.core.permission.Permission permission)
-
-
-
Method Detail
-
getMain
public String getMain()
-
getName
public String getName()
-
getAuthor
public String getAuthor()
-
getVersion
public top.focess.util.version.Version getVersion()
-
getRequireVersion
public top.focess.util.version.Version getRequireVersion()
-
getLimitVersion
public top.focess.util.version.Version getLimitVersion()
-
hasPermission
public boolean hasPermission(top.focess.qq.core.permission.Permission permission)
-
-