Package org.gradle.plugin.devel
Class PluginDeclaration
- java.lang.Object
-
- org.gradle.plugin.devel.PluginDeclaration
-
- All Implemented Interfaces:
Named
public abstract class PluginDeclaration extends java.lang.Object implements Named
Describes a Gradle plugin under development.- Since:
- 2.14
- See Also:
JavaGradlePluginPlugin
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.gradle.api.Named
Named.Namer
-
-
Constructor Summary
Constructors Constructor Description PluginDeclaration(java.lang.String name)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDescription()Returns the description for this plugin declaration.java.lang.StringgetDisplayName()Returns the display name for this plugin declaration.java.lang.StringgetId()java.lang.StringgetImplementationClass()java.lang.StringgetName()The object's name.abstract SetProperty<java.lang.String>getTags()Returns the tags property for this plugin declaration.voidsetDescription(java.lang.String description)Sets the description for this plugin declaration.voidsetDisplayName(java.lang.String displayName)Sets the display name for this plugin declaration.voidsetId(java.lang.String id)voidsetImplementationClass(java.lang.String implementationClass)
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:NamedThe object's name.Must be constant for the life of the object.
-
getId
public java.lang.String getId()
-
setId
public void setId(java.lang.String id)
-
getImplementationClass
public java.lang.String getImplementationClass()
-
setImplementationClass
public void setImplementationClass(java.lang.String implementationClass)
-
getDisplayName
public java.lang.String getDisplayName()
Returns the display name for this plugin declaration.The display name is used when publishing this plugin to repositories that support human-readable artifact names.
- Since:
- 4.10
-
setDisplayName
public void setDisplayName(java.lang.String displayName)
Sets the display name for this plugin declaration.The display name is used when publishing this plugin to repositories that support human-readable artifact names.
- Since:
- 4.10
-
getDescription
public java.lang.String getDescription()
Returns the description for this plugin declaration.The description is used when publishing this plugin to repositories that support providing descriptions for artifacts.
- Since:
- 4.10
-
setDescription
public void setDescription(java.lang.String description)
Sets the description for this plugin declaration.The description is used when publishing this plugin to repositories that support providing descriptions for artifacts.
- Since:
- 4.10
-
getTags
@Incubating public abstract SetProperty<java.lang.String> getTags()
Returns the tags property for this plugin declaration.Tags are used when publishing this plugin to repositories that support tagging plugins, for example the Gradle Plugin Portal.
- Since:
- 7.6
-
-