public class ChangeLogVersionEntryImpl extends Object implements ChangeLogVersionEntry
A ChangeLogVersionEntry implementation.
| Constructor and Description |
|---|
ChangeLogVersionEntryImpl()
Creates an entry.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addDetail(ChangeLogVersionEntryDetail detail)
Adds a detail.
|
Date |
getDate()
Returns the date.
|
List<ChangeLogVersionEntryDetail> |
getDetails()
Returns the details.
|
List<String> |
getDistributions()
Returns the distributions.
|
PackageMaintainer |
getMaintainer()
Returns the maintainer.
|
PackageName |
getPackage()
Returns the name of the package.
|
ChangeLogUrgency |
getUrgency()
Returns the urgency of the version.
|
PackageVersion |
getVersion()
Returns the version.
|
void |
setDate(Date date)
Sets the date,
|
void |
setDetails(List<ChangeLogVersionEntryDetail> details)
Sets the details.
|
void |
setDistributions(List<String> distributions)
Sets the distributions.
|
void |
setMaintainer(PackageMaintainer maintainer)
Sets the maintainer.
|
void |
setPackageName(PackageName packageName)
Sets the name of the package.
|
void |
setUrgency(ChangeLogUrgency urgency)
Sets the urgency.
|
void |
setVersion(PackageVersion version)
Sets the version.
|
public PackageName getPackage()
ChangeLogVersionEntryReturns the name of the package.
getPackage in interface ChangeLogVersionEntrypublic void setPackageName(PackageName packageName)
Sets the name of the package.
packageName - The name.public PackageVersion getVersion()
ChangeLogVersionEntryReturns the version.
getVersion in interface ChangeLogVersionEntrypublic void setVersion(PackageVersion version)
Sets the version.
version - public List<String> getDistributions()
ChangeLogVersionEntryReturns the distributions.
getDistributions in interface ChangeLogVersionEntrypublic void setDistributions(List<String> distributions)
Sets the distributions.
distributions - The distributions.public ChangeLogUrgency getUrgency()
ChangeLogVersionEntryReturns the urgency of the version.
getUrgency in interface ChangeLogVersionEntrypublic void setUrgency(ChangeLogUrgency urgency)
Sets the urgency.
urgency - The urgency.public List<ChangeLogVersionEntryDetail> getDetails()
ChangeLogVersionEntryReturns the details.
getDetails in interface ChangeLogVersionEntrypublic void setDetails(List<ChangeLogVersionEntryDetail> details)
Sets the details.
details - The details.public void addDetail(ChangeLogVersionEntryDetail detail)
Adds a detail.
detail - The detail.IllegalArgumentException - If the detail is null.public PackageMaintainer getMaintainer()
ChangeLogVersionEntryReturns the maintainer.
getMaintainer in interface ChangeLogVersionEntrypublic void setMaintainer(PackageMaintainer maintainer)
Sets the maintainer.
maintainer - The maintainer.public Date getDate()
ChangeLogVersionEntryReturns the date.
getDate in interface ChangeLogVersionEntrypublic void setDate(Date date)
Sets the date,
date - The date.Copyright © 2015–2019. All rights reserved.