public class CoreExtension extends Object implements Serializable
Constructor and Description |
---|
CoreExtension() |
Modifier and Type | Method and Description |
---|---|
String |
getArtifactId()
Get the artifact ID of the extension.
|
String |
getClassLoadingStrategy()
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).
|
String |
getGroupId()
Get the group ID of the extension's artifact.
|
String |
getId()
Gets the identifier of the extension.
|
String |
getVersion()
Get the version of the extension.
|
void |
setArtifactId(String artifactId)
Set the artifact ID of the extension.
|
void |
setClassLoadingStrategy(String classLoadingStrategy)
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)
Set the group ID of the extension's artifact.
|
void |
setVersion(String version)
Set the version of the extension.
|
public String getArtifactId()
public String getClassLoadingStrategy()
public String getGroupId()
public String getVersion()
public void setArtifactId(String artifactId)
artifactId
- public void setClassLoadingStrategy(String classLoadingStrategy)
classLoadingStrategy
- public void setGroupId(String groupId)
groupId
- public void setVersion(String version)
version
- public String getId()
<groupId>:<artifactId>:<version>
, never null
.Copyright © 2001–2023 The Apache Software Foundation. All rights reserved.