Enum MvnExtensionListenerType_1
java.lang.Object
java.lang.Enum<MvnExtensionListenerType_1>
com.gradle.scan.eventmodel.maven.extensions.MvnExtensionListenerType_1
- All Implemented Interfaces:
Serializable,Comparable<MvnExtensionListenerType_1>,Constable
@MavenExtensionVersion(since="1.15")
public enum MvnExtensionListenerType_1
extends Enum<MvnExtensionListenerType_1>
Type of listener provided by an extension.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA listener registered within Maven's dependency injection container that meets the following criteria: ImplementsAbstractMavenLifecycleParticipantIs annotated with theComponentannotation and has theComponent.role()property set to the implementing interfaceA listener registered within Maven's dependency injection container that meets the following criteria: ImplementsExecutionListenerIs annotated with theComponentannotation and has theComponent.role()property set to the implementing interfaceA listener registered within Maven's dependency injection container that meets the following criteria: Implementscom.gradle.develocity.agent.maven.api.DevelocityListenerIs annotated with theComponentannotation and has theComponent.role()property set to the implementing interfaceA listener registered within Maven's dependency injection container that meets the following criteria: ImplementsEventSpyIs annotated with theComponentannotation and has theComponent.role()property set to the implementing interfaceTheExecutionListenerwhich is set on theMavenExecutionRequestwithout the need of being registered within Maven's dependency injection container.A listener registered within Maven's dependency injection container that meets the following criteria: ImplementsIs annotated with theinvalid reference
com.gradle.maven.extension.api.GradleEnterpriseListenerComponentannotation and has theComponent.role()property set to the implementing interfaceA listener registered within Maven's dependency injection container that meets the following criteria: ImplementsMojoExecutionListenerIs annotated with theComponentannotation and has theComponent.role()property set to the implementing interfaceA listener registered within Maven's dependency injection container that meets the following criteria: ImplementsProjectExecutionListenerIs annotated with theComponentannotation and has theComponent.role()property set to the implementing interfaceA listener registered within Maven's dependency injection container that meets the following criteria: ImplementsWeakMojoExecutionListenerIs annotated with theComponentannotation and has theComponent.role()property set to the implementing interface -
Method Summary
Modifier and TypeMethodDescriptionstatic MvnExtensionListenerType_1Returns the enum constant of this type with the specified name.static MvnExtensionListenerType_1[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
GRADLE_ENTERPRISE_LISTENER
@MavenExtensionVersion(since="1.15") public static final MvnExtensionListenerType_1 GRADLE_ENTERPRISE_LISTENERA listener registered within Maven's dependency injection container that meets the following criteria:- Implements
invalid reference
com.gradle.maven.extension.api.GradleEnterpriseListener - Is annotated with the
Componentannotation and has theComponent.role()property set to the implementing interface
- Implements
-
EVENT_SPY
A listener registered within Maven's dependency injection container that meets the following criteria:- Implements
EventSpy - Is annotated with the
Componentannotation and has theComponent.role()property set to the implementing interface
- Implements
-
ABSTRACT_MAVEN_LIFECYCLE_PARTICIPANT
@MavenExtensionVersion(since="1.15") public static final MvnExtensionListenerType_1 ABSTRACT_MAVEN_LIFECYCLE_PARTICIPANTA listener registered within Maven's dependency injection container that meets the following criteria:- Implements
AbstractMavenLifecycleParticipant - Is annotated with the
Componentannotation and has theComponent.role()property set to the implementing interface
- Implements
-
EXECUTION_LISTENER
@MavenExtensionVersion(since="1.15") public static final MvnExtensionListenerType_1 EXECUTION_LISTENERTheExecutionListenerwhich is set on theMavenExecutionRequestwithout the need of being registered within Maven's dependency injection container. There can always be zero or one execution listener, but there may be zero or moreavailable execution listeners. -
AVAILABLE_EXECUTION_LISTENER
@MavenExtensionVersion(since="1.15") public static final MvnExtensionListenerType_1 AVAILABLE_EXECUTION_LISTENERA listener registered within Maven's dependency injection container that meets the following criteria:- Implements
ExecutionListener - Is annotated with the
Componentannotation and has theComponent.role()property set to the implementing interface
- Implements
-
PROJECT_EXECUTION_LISTENER
@MavenExtensionVersion(since="1.15") public static final MvnExtensionListenerType_1 PROJECT_EXECUTION_LISTENERA listener registered within Maven's dependency injection container that meets the following criteria:- Implements
ProjectExecutionListener - Is annotated with the
Componentannotation and has theComponent.role()property set to the implementing interface
- Implements
-
MOJO_EXECUTION_LISTENER
@MavenExtensionVersion(since="1.15") public static final MvnExtensionListenerType_1 MOJO_EXECUTION_LISTENERA listener registered within Maven's dependency injection container that meets the following criteria:- Implements
MojoExecutionListener - Is annotated with the
Componentannotation and has theComponent.role()property set to the implementing interface
- Implements
-
WEAK_MOJO_EXECUTION_LISTENER
@MavenExtensionVersion(since="1.15") public static final MvnExtensionListenerType_1 WEAK_MOJO_EXECUTION_LISTENERA listener registered within Maven's dependency injection container that meets the following criteria:- Implements
WeakMojoExecutionListener - Is annotated with the
Componentannotation and has theComponent.role()property set to the implementing interface
- Implements
-
DEVELOCITY_LISTENER
@MavenExtensionVersion(since="1.21") public static final MvnExtensionListenerType_1 DEVELOCITY_LISTENERA listener registered within Maven's dependency injection container that meets the following criteria:- Implements
com.gradle.develocity.agent.maven.api.DevelocityListener - Is annotated with the
Componentannotation and has theComponent.role()property set to the implementing interface
- See Also:
- Implements
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-