@Incubating public class PluginDeclaration extends Object implements Named, Serializable
JavaGradlePluginPlugin
,
Serialized FormNamed.Namer
Constructor and Description |
---|
PluginDeclaration(String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
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.
|
int |
hashCode() |
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()
Named
Must be constant for the life of the object.
public String getId()
public void setId(String id)
public String getImplementationClass()
public void setImplementationClass(String implementationClass)
@Nullable 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.
@Nullable 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.