Package com.reposilite.plugin.api
Annotation Interface Plugin
Represents plugin metadata, should be used to annotate
ReposilitePlugin-
Required Element Summary
Required Elements -
Optional Element Summary
Optional Elements
-
Element Details
-
name
String name- Returns:
- the name of this plugin
-
version
String version- Returns:
- version of plugin, by default it is same as the current Reposilite version
- See Also:
- Default:
"3.5.13"
-
dependencies
String[] dependencies- Returns:
- array of plugins required to launch before this one
- Default:
{}
-
settings
Class<? extends com.reposilite.configuration.shared.api.SharedSettings> settings- Returns:
- custom configuration class used by plugin
- Default:
com.reposilite.configuration.shared.api.SharedSettings.class
-