public class GenerateMetadataTask extends DefaultTask
Task.NamerTASK_ACTION, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE| Constructor and Description |
|---|
GenerateMetadataTask() |
| Modifier and Type | Method and Description |
|---|---|
Path |
getMetadataFileBungee()
|
Path |
getMetadataFileSpigot()
|
Path |
getTargetBungee()
Gets the
Path for the generated bungee PluginMetadata. |
Path |
getTargetSpigot()
Gets the
Path for the generated spigot PluginMetadata. |
void |
setMergeMetadata(boolean state)
Enables or disables the merging of available
PluginMetadata
sources. |
void |
setSupplierBungee(Supplier<eu.hexagonmc.spigot.annotation.meta.PluginMetadata> supplier)
Sets an supplier that returns an existing bungee
PluginMetadata. |
void |
setSupplierSpigot(Supplier<eu.hexagonmc.spigot.annotation.meta.PluginMetadata> supplier)
Sets an supplier that returns an existing spigot
PluginMetadata. |
addValidator, appendParallelSafeAction, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doLast, doLast, execute, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExecuter, getExtensions, getFinalizedBy, getGroup, getIdentityPath, getImpliesSubProjects, getInputs, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTemporaryDir, getTemporaryDirFactory, getValidators, hasProperty, injectIntoNewInstance, isEnabled, isHasCustomActions, leftShift, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setExecuter, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toStringpublic void setMergeMetadata(boolean state)
PluginMetadata
sources.state - True to enable false otherwisepublic void setSupplierSpigot(Supplier<eu.hexagonmc.spigot.annotation.meta.PluginMetadata> supplier)
PluginMetadata.supplier - The supplierpublic void setSupplierBungee(Supplier<eu.hexagonmc.spigot.annotation.meta.PluginMetadata> supplier)
PluginMetadata.supplier - The supplier@Internal public Path getTargetSpigot()
Path for the generated spigot PluginMetadata.Path@Internal public Path getTargetBungee()
Path for the generated bungee PluginMetadata.Path