Class PaperDescriptionGenerator
java.lang.Object
com.vouncherstudios.strawberry.minecraft.plugin.generator.paper.PaperDescriptionGenerator
- All Implemented Interfaces:
DescriptionGenerator
Represents a Paper plugin description generator.
-
Field Summary
Fields inherited from interface DescriptionGenerator
INVALID_NAMESPACES -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PaperDescriptionGenerator
-
-
Method Details
-
generate
public void generate(@Nonnull String projectVersion, @Nullable String projectDescription, @Nonnull org.gradle.api.file.Directory directory) Description copied from interface:DescriptionGeneratorGenerates the description for the project.- Specified by:
generatein interfaceDescriptionGenerator- Parameters:
projectVersion- the project versionprojectDescription- the project descriptiondirectory- the output file directory
-
validate
Description copied from interface:DescriptionGeneratorChecks whether the generator has all mandatory parameters.- Specified by:
validatein interfaceDescriptionGenerator- Throws:
InvalidPluginDescriptionException- if it is missing any mandatory parameter
-