Class CoreExtension
java.lang.Object
org.apache.maven.cli.internal.extension.model.CoreExtension
- All Implemented Interfaces:
Serializable
Deprecated.
Describes a build extension to utilise.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.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.getId()Deprecated.Gets the identifier of the extension.Deprecated.Get the version of the extension.voidsetArtifactId(String artifactId) Deprecated.Set the artifact ID of the extension.voidsetClassLoadingStrategy(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).voidsetGroupId(String groupId) Deprecated.Set the group ID of the extension's artifact.voidsetVersion(String version) Deprecated.Set the version of the extension.
-
Constructor Details
-
CoreExtension
public CoreExtension()Deprecated.
-
-
Method Details
-
getArtifactId
Deprecated.Get the artifact ID of the extension.- Returns:
- 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
Deprecated.Get the group ID of the extension's artifact.- Returns:
- String
-
getVersion
Deprecated.Get the version of the extension.- Returns:
- String
-
setArtifactId
Deprecated.Set the artifact ID of the extension.- Parameters:
artifactId- a artifactId object.
-
setClassLoadingStrategy
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
Deprecated.Set the group ID of the extension's artifact.- Parameters:
groupId- a groupId object.
-
setVersion
Deprecated.Set the version of the extension.- Parameters:
version- a version object.
-
getId
Deprecated.Gets the identifier of the extension.- Returns:
- The extension id in the form
<groupId>:<artifactId>:<version>, nevernull.
-
CoreExtensioninstead