public class GroupVersionAlignment
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private java.util.List<java.lang.String> |
excludes
Field excludes.
|
private java.lang.String |
id
The groupId of the artifacts for which you want
to align the
versions.
|
private java.lang.String |
version
The version you want to align this group to.
|
Constructor and Description |
---|
GroupVersionAlignment() |
Modifier and Type | Method and Description |
---|---|
void |
addExclude(java.lang.String string)
Method addExclude.
|
java.util.List<java.lang.String> |
getExcludes()
Method getExcludes.
|
java.lang.String |
getId()
Get the groupId of the artifacts for which you want to align
the
versions.
|
java.lang.String |
getVersion()
Get the version you want to align this group to.
|
void |
removeExclude(java.lang.String string)
Method removeExclude.
|
void |
setExcludes(java.util.List<java.lang.String> excludes)
Set when <exclude> subelements are present, they
define the
artifactIds of the artifacts to exclude.
|
void |
setId(java.lang.String id)
Set the groupId of the artifacts for which you want to align
the
versions.
|
void |
setVersion(java.lang.String version)
Set the version you want to align this group to.
|
private java.lang.String id
private java.lang.String version
private java.util.List<java.lang.String> excludes
public void addExclude(java.lang.String string)
string
- public java.util.List<java.lang.String> getExcludes()
public java.lang.String getId()
public java.lang.String getVersion()
public void removeExclude(java.lang.String string)
string
- public void setExcludes(java.util.List<java.lang.String> excludes)
excludes
- public void setId(java.lang.String id)
id
- public void setVersion(java.lang.String version)
version
-