Class MvnExtension_1_0
java.lang.Object
com.gradle.scan.eventmodel.maven.extensions.MvnExtension_1_0
- All Implemented Interfaces:
com.gradle.scan.eventmodel.EventData
@MavenVersion(since="3.3.1")
@MavenExtensionVersion(since="1.15")
public class MvnExtension_1_0
extends Object
implements com.gradle.scan.eventmodel.EventData
An
EventData
containing details about an extension applied to the build.
An event stream will contain zero or more MvnExtension_1_0
.
-
Field Summary
Modifier and TypeFieldDescriptionfinal @Nullable String
The artifact ID of this extension.final @Nullable String
The group ID of this extension.final long
The generated, unique ID of this extension.final List
<MvnExtensionListener_1_0> A list of listeners exposed by this extension.final @Nullable MvnFileRef_1_0
The on-disk location of this extension.final @Nullable String
The name of the class realm that contains this extension.The extension application type.final @Nullable String
The version of this extension. -
Constructor Summary
ConstructorDescriptionMvnExtension_1_0
(long id, @Nullable String groupId, @Nullable String artifactId, @Nullable String version, @Nullable MvnFileRef_1_0 location, @Nullable String realmName, MvnExtensionApplicationType_1 type, List<MvnExtensionListener_1_0> listeners) -
Method Summary
-
Field Details
-
id
public final long idThe generated, unique ID of this extension. -
groupId
The group ID of this extension.May be null if it cannot be retrieved.
-
artifactId
The artifact ID of this extension.May be null if it cannot be retrieved.
-
version
The version of this extension.May be null if it cannot be retrieved.
-
location
The on-disk location of this extension.May be null if it cannot be retrieved.
-
realmName
The name of the class realm that contains this extension.May be null if the class loader used to load this extension is not managed by Maven.
- See Also:
-
type
The extension application type. -
listeners
A list of listeners exposed by this extension.
-
-
Constructor Details
-
MvnExtension_1_0
public MvnExtension_1_0(long id, @Nullable @Nullable String groupId, @Nullable @Nullable String artifactId, @Nullable @Nullable String version, @Nullable @Nullable MvnFileRef_1_0 location, @Nullable @Nullable String realmName, MvnExtensionApplicationType_1 type, List<MvnExtensionListener_1_0> listeners)
-
-
Method Details