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