Interface ExtensionDescription
public interface ExtensionDescription
Represents the description of an
Extension.-
Method Summary
Modifier and TypeMethodDescriptiondefault StringGets the extension's api version.authors()Gets the extension's authors.@NonNull Stringid()Gets the extension's id.@NonNull Stringmain()Gets the extension's main class.intGets the extension's major api versionintGets the extension's minor api version@NonNull Stringname()Gets the extension's name.intGets the extension's patch api version@NonNull Stringversion()Gets the extension's description.
-
Method Details
-
id
@NonNull String id()Gets the extension's id.- Returns:
- the extension's id
-
name
@NonNull String name()Gets the extension's name.- Returns:
- the extension's name
-
main
@NonNull String main()Gets the extension's main class.- Returns:
- the extension's main class
-
majorApiVersion
int majorApiVersion()Gets the extension's major api version- Returns:
- the extension's major api version
-
minorApiVersion
int minorApiVersion()Gets the extension's minor api version- Returns:
- the extension's minor api version
-
patchApiVersion
int patchApiVersion()Gets the extension's patch api version- Returns:
- the extension's patch api version
-
apiVersion
Gets the extension's api version.- Returns:
- the extension's api version
-
version
@NonNull String version()Gets the extension's description.- Returns:
- the extension's description
-
authors
Gets the extension's authors.- Returns:
- the extension's authors
-