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 Constants
    Enum Constant
    Description
    A listener registered within Maven's dependency injection container that meets the following criteria: Implements AbstractMavenLifecycleParticipant Is annotated with the Component annotation and has the Component.role() property set to the implementing interface
    A listener registered within Maven's dependency injection container that meets the following criteria: Implements ExecutionListener Is annotated with the Component annotation and has the Component.role() property set to the implementing interface
    A 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 Component annotation and has the Component.role() property set to the implementing interface
    A listener registered within Maven's dependency injection container that meets the following criteria: Implements EventSpy Is annotated with the Component annotation and has the Component.role() property set to the implementing interface
    The ExecutionListener which is set on the MavenExecutionRequest without 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: Implements
    invalid reference
    com.gradle.maven.extension.api.GradleEnterpriseListener
    Is annotated with the Component annotation and has the Component.role() property set to the implementing interface
    A listener registered within Maven's dependency injection container that meets the following criteria: Implements MojoExecutionListener Is annotated with the Component annotation and has the Component.role() property set to the implementing interface
    A listener registered within Maven's dependency injection container that meets the following criteria: Implements ProjectExecutionListener Is annotated with the Component annotation and has the Component.role() property set to the implementing interface
    A listener registered within Maven's dependency injection container that meets the following criteria: Implements WeakMojoExecutionListener Is annotated with the Component annotation and has the Component.role() property set to the implementing interface
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this type with the specified name.
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • 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
        invalid reference
        com.gradle.maven.extension.api.GradleEnterpriseListener
      • Is annotated with the Component annotation and has the Component.role() property set to the implementing interface
    • 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 the Component.role() property set to the implementing interface
    • 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:
    • EXECUTION_LISTENER

      @MavenExtensionVersion(since="1.15") public static final MvnExtensionListenerType_1 EXECUTION_LISTENER
      The ExecutionListener which is set on the MavenExecutionRequest 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 more available 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 the Component.role() property set to the implementing interface
    • 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 the Component.role() property set to the implementing interface
    • 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 the Component.role() property set to the implementing interface
    • 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 the Component.role() property set to the implementing interface
    • 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 com.gradle.develocity.agent.maven.api.DevelocityListener
      • Is annotated with the Component annotation and has the Component.role() property set to the implementing interface
      See Also:
  • Method Details

    • values

      public static MvnExtensionListenerType_1[] 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

      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 name
      NullPointerException - if the argument is null