Interface DescriptionGenerator
- All Known Implementing Classes:
PaperDescriptionGenerator, VelocityDescriptionGenerator
public interface DescriptionGenerator
Represents a description generator. It is used to generate a plugin description on the specified
platform.
-
Field Summary
Fields -
Method Summary
-
Field Details
-
INVALID_NAMESPACES
-
-
Method Details
-
generate
void generate(@Nonnull String projectVersion, @Nullable String projectDescription, @Nonnull org.gradle.api.file.Directory directory) Generates the description for the project.- Parameters:
projectVersion- the project versionprojectDescription- the project descriptiondirectory- the output file directory
-
validate
Checks whether the generator has all mandatory parameters.- Throws:
InvalidPluginDescriptionException- if it is missing any mandatory parameter
-