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>
@MavenExtensionVersion(since="1.15") public enum MvnExtensionListenerType_1 extends Enum<MvnExtensionListenerType_1>
Type of listener provided by an extension.- See Also:
MvnExtensionListener_1_0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABSTRACT_MAVEN_LIFECYCLE_PARTICIPANT
A listener registered within Maven's dependency injection container that meets the following criteria: ImplementsAbstractMavenLifecycleParticipant
Is annotated with theComponent
annotation and has theComponent.role()
property set to the implementing interfaceAVAILABLE_EXECUTION_LISTENER
A listener registered within Maven's dependency injection container that meets the following criteria: ImplementsExecutionListener
Is annotated with theComponent
annotation and has theComponent.role()
property set to the implementing interfaceDEVELOCITY_LISTENER
A listener registered within Maven's dependency injection container that meets the following criteria: ImplementsDevelocityListener
Is annotated with theComponent
annotation and has theComponent.role()
property set to the implementing interfaceEVENT_SPY
A listener registered within Maven's dependency injection container that meets the following criteria: ImplementsEventSpy
Is annotated with theComponent
annotation and has theComponent.role()
property set to the implementing interfaceEXECUTION_LISTENER
TheExecutionListener
which is set on theMavenExecutionRequest
without the need of being registered within Maven's dependency injection container.GRADLE_ENTERPRISE_LISTENER
A listener registered within Maven's dependency injection container that meets the following criteria: ImplementsGradleEnterpriseListener
Is annotated with theComponent
annotation and has theComponent.role()
property set to the implementing interfaceMOJO_EXECUTION_LISTENER
A listener registered within Maven's dependency injection container that meets the following criteria: ImplementsMojoExecutionListener
Is annotated with theComponent
annotation and has theComponent.role()
property set to the implementing interfacePROJECT_EXECUTION_LISTENER
A listener registered within Maven's dependency injection container that meets the following criteria: ImplementsProjectExecutionListener
Is annotated with theComponent
annotation and has theComponent.role()
property set to the implementing interfaceWEAK_MOJO_EXECUTION_LISTENER
A listener registered within Maven's dependency injection container that meets the following criteria: ImplementsWeakMojoExecutionListener
Is annotated with theComponent
annotation and has theComponent.role()
property set to the implementing interface
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MvnExtensionListenerType_1
valueOf(String name)
Returns 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 Detail
-
GRADLE_ENTERPRISE_LISTENER
@MavenExtensionVersion(since="1.15") public static final MvnExtensionListenerType_1 GRADLE_ENTERPRISE_LISTENER
A listener registered within Maven's dependency injection container that meets the following criteria:- Implements
GradleEnterpriseListener
- Is annotated with the
Component
annotation and has theComponent.role()
property set to the implementing interface
- Implements
-
EVENT_SPY
@MavenExtensionVersion(since="1.15") public static final MvnExtensionListenerType_1 EVENT_SPY
A listener registered within Maven's dependency injection container that meets the following criteria:- Implements
EventSpy
- Is annotated with the
Component
annotation 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_PARTICIPANT
A listener registered within Maven's dependency injection container that meets the following criteria:- Implements
AbstractMavenLifecycleParticipant
- Is annotated with the
Component
annotation and has theComponent.role()
property set to the implementing interface
- Implements
-
EXECUTION_LISTENER
@MavenExtensionVersion(since="1.15") public static final MvnExtensionListenerType_1 EXECUTION_LISTENER
TheExecutionListener
which is set on theMavenExecutionRequest
without 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_LISTENER
A listener registered within Maven's dependency injection container that meets the following criteria:- Implements
ExecutionListener
- Is annotated with the
Component
annotation 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_LISTENER
A listener registered within Maven's dependency injection container that meets the following criteria:- Implements
ProjectExecutionListener
- Is annotated with the
Component
annotation 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_LISTENER
A listener registered within Maven's dependency injection container that meets the following criteria:- Implements
MojoExecutionListener
- Is annotated with the
Component
annotation 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_LISTENER
A listener registered within Maven's dependency injection container that meets the following criteria:- Implements
WeakMojoExecutionListener
- Is annotated with the
Component
annotation and has theComponent.role()
property set to the implementing interface
- Implements
-
DEVELOCITY_LISTENER
@MavenExtensionVersion(since="1.21") public static final MvnExtensionListenerType_1 DEVELOCITY_LISTENER
A listener registered within Maven's dependency injection container that meets the following criteria:- Implements
DevelocityListener
- Is annotated with the
Component
annotation and has theComponent.role()
property set to the implementing interface
- Implements
-
-
Method Detail
-
values
public static MvnExtensionListenerType_1[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MvnExtensionListenerType_1 c : MvnExtensionListenerType_1.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MvnExtensionListenerType_1 valueOf(String name)
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
-
-