Package org.gradle.plugin.use
Interface PluginId
public interface PluginId
A description of a plugin.
- Since:
- 3.5
-
Method Summary
Modifier and TypeMethodDescriptiongetId()
The fully qualified plugin ID.getName()
The plugin name without the namespace.The namespace of the plugin ornull
if the ID contains no.
.withNamespace
(String namespace) Takes this unqualified plugin ID and adds a namespace.
-
Method Details
-
getId
String getId()The fully qualified plugin ID. -
getNamespace
The namespace of the plugin ornull
if the ID contains no.
. -
getName
String getName()The plugin name without the namespace. -
withNamespace
Takes this unqualified plugin ID and adds a namespace.- Parameters:
namespace
- the namespace to add.- Returns:
- the plugin ID qualified with the given namespace
- Throws:
IllegalArgumentException
- if the ID already had a namespace
-