Package org.gradle.plugin.use
Schnittstelle PluginId
public interface PluginId
A description of a plugin.
- Seit:
- 3.5
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibunggetId()The fully qualified plugin ID.getName()The plugin name without the namespace.The namespace of the plugin ornullif the ID contains no..withNamespace(String namespace) Takes this unqualified plugin ID and adds a namespace.
-
Methodendetails
-
getId
String getId()The fully qualified plugin ID. -
getNamespace
The namespace of the plugin ornullif the ID contains no.. -
getName
String getName()The plugin name without the namespace. -
withNamespace
Takes this unqualified plugin ID and adds a namespace.- Parameter:
namespace- the namespace to add.- Gibt zurück:
- the plugin ID qualified with the given namespace
- Löst aus:
IllegalArgumentException- if the ID already had a namespace
-