Named
public abstract class PluginDeclaration extends java.lang.Object implements Named
JavaGradlePluginPlugin
Named.Namer
Constructor | Description |
---|---|
PluginDeclaration(java.lang.String name) |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getDescription() |
Returns the description for this plugin declaration.
|
java.lang.String |
getDisplayName() |
Returns the display name for this plugin declaration.
|
java.lang.String |
getId() |
|
java.lang.String |
getImplementationClass() |
|
java.lang.String |
getName() |
The object's name.
|
abstract SetProperty<java.lang.String> |
getTags() |
Returns the tags property for this plugin declaration.
|
void |
setDescription(java.lang.String description) |
Sets the description for this plugin declaration.
|
void |
setDisplayName(java.lang.String displayName) |
Sets the display name for this plugin declaration.
|
void |
setId(java.lang.String id) |
|
void |
setImplementationClass(java.lang.String implementationClass) |
public java.lang.String getName()
Named
Must be constant for the life of the object.
public java.lang.String getId()
public void setId(java.lang.String id)
public java.lang.String getImplementationClass()
public void setImplementationClass(java.lang.String implementationClass)
public java.lang.String getDisplayName()
The display name is used when publishing this plugin to repositories that support human-readable artifact names.
public void setDisplayName(java.lang.String displayName)
The display name is used when publishing this plugin to repositories that support human-readable artifact names.
public java.lang.String getDescription()
The description is used when publishing this plugin to repositories that support providing descriptions for artifacts.
public void setDescription(java.lang.String description)
The description is used when publishing this plugin to repositories that support providing descriptions for artifacts.
@Incubating public abstract SetProperty<java.lang.String> getTags()
Tags are used when publishing this plugin to repositories that support tagging plugins, for example the Gradle Plugin Portal.