public class CoreExtension
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
artifactId
The artifact ID of the extension.
|
private java.lang.String |
classLoadingStrategy
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).
|
private java.lang.String |
groupId
The group ID of the extension's artifact.
|
private java.lang.String |
version
The version of the extension.
|
Constructor and Description |
---|
CoreExtension() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getArtifactId()
Get the artifact ID of the extension.
|
java.lang.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).
|
java.lang.String |
getGroupId()
Get the group ID of the extension's artifact.
|
java.lang.String |
getId()
Gets the identifier of the extension.
|
java.lang.String |
getVersion()
Get the version of the extension.
|
void |
setArtifactId(java.lang.String artifactId)
Set the artifact ID of the extension.
|
void |
setClassLoadingStrategy(java.lang.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(java.lang.String groupId)
Set the group ID of the extension's artifact.
|
void |
setVersion(java.lang.String version)
Set the version of the extension.
|
private java.lang.String groupId
private java.lang.String artifactId
private java.lang.String version
private java.lang.String classLoadingStrategy
public java.lang.String getArtifactId()
public java.lang.String getClassLoadingStrategy()
public java.lang.String getGroupId()
public java.lang.String getVersion()
public void setArtifactId(java.lang.String artifactId)
artifactId
- a artifactId object.public void setClassLoadingStrategy(java.lang.String classLoadingStrategy)
classLoadingStrategy
- a classLoadingStrategy object.public void setGroupId(java.lang.String groupId)
groupId
- a groupId object.public void setVersion(java.lang.String version)
version
- a version object.public java.lang.String getId()
<groupId>:<artifactId>:<version>
, never null
.