Class CoreExtension

java.lang.Object
org.apache.maven.cli.internal.extension.model.CoreExtension
All Implemented Interfaces:
Serializable

@Deprecated public class CoreExtension extends Object implements Serializable
Deprecated.
Use CoreExtension instead
Describes a build extension to utilise.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
    Get the artifact ID of the extension.
    Deprecated.
    Get the class loading strategy: 'self-first' (the default), 'parent-first' (loads classes from the parent, then from the extension) or 'plugin' (follows the rules from extensions defined as plugins).
    Deprecated.
    Get the group ID of the extension's artifact.
    Deprecated.
    Gets the identifier of the extension.
    Deprecated.
    Get the version of the extension.
    void
    setArtifactId(String artifactId)
    Deprecated.
    Set the artifact ID of the extension.
    void
    setClassLoadingStrategy(String classLoadingStrategy)
    Deprecated.
    Set the class loading strategy: 'self-first' (the default), 'parent-first' (loads classes from the parent, then from the extension) or 'plugin' (follows the rules from extensions defined as plugins).
    void
    setGroupId(String groupId)
    Deprecated.
    Set the group ID of the extension's artifact.
    void
    setVersion(String version)
    Deprecated.
    Set the version of the extension.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CoreExtension

      public CoreExtension()
      Deprecated.
  • Method Details

    • getArtifactId

      public String getArtifactId()
      Deprecated.
      Get the artifact ID of the extension.
      Returns:
      String
    • getClassLoadingStrategy

      public String getClassLoadingStrategy()
      Deprecated.
      Get the class loading strategy: 'self-first' (the default), 'parent-first' (loads classes from the parent, then from the extension) or 'plugin' (follows the rules from extensions defined as plugins).
      Returns:
      String
    • getGroupId

      public String getGroupId()
      Deprecated.
      Get the group ID of the extension's artifact.
      Returns:
      String
    • getVersion

      public String getVersion()
      Deprecated.
      Get the version of the extension.
      Returns:
      String
    • setArtifactId

      public void setArtifactId(String artifactId)
      Deprecated.
      Set the artifact ID of the extension.
      Parameters:
      artifactId - a artifactId object.
    • setClassLoadingStrategy

      public void setClassLoadingStrategy(String classLoadingStrategy)
      Deprecated.
      Set the class loading strategy: 'self-first' (the default), 'parent-first' (loads classes from the parent, then from the extension) or 'plugin' (follows the rules from extensions defined as plugins).
      Parameters:
      classLoadingStrategy - a classLoadingStrategy object.
    • setGroupId

      public void setGroupId(String groupId)
      Deprecated.
      Set the group ID of the extension's artifact.
      Parameters:
      groupId - a groupId object.
    • setVersion

      public void setVersion(String version)
      Deprecated.
      Set the version of the extension.
      Parameters:
      version - a version object.
    • getId

      public String getId()
      Deprecated.
      Gets the identifier of the extension.
      Returns:
      The extension id in the form <groupId>:<artifactId>:<version>, never null.