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()
ChangeLogVersionEntry
Returns the name of the package.
getPackage
in interface ChangeLogVersionEntry
public void setPackageName(PackageName packageName)
Sets the name of the package.
packageName
- The name.public PackageVersion getVersion()
ChangeLogVersionEntry
Returns the version.
getVersion
in interface ChangeLogVersionEntry
public void setVersion(PackageVersion version)
Sets the version.
version
- public List<String> getDistributions()
ChangeLogVersionEntry
Returns the distributions.
getDistributions
in interface ChangeLogVersionEntry
public void setDistributions(List<String> distributions)
Sets the distributions.
distributions
- The distributions.public ChangeLogUrgency getUrgency()
ChangeLogVersionEntry
Returns the urgency of the version.
getUrgency
in interface ChangeLogVersionEntry
public void setUrgency(ChangeLogUrgency urgency)
Sets the urgency.
urgency
- The urgency.public List<ChangeLogVersionEntryDetail> getDetails()
ChangeLogVersionEntry
Returns the details.
getDetails
in interface ChangeLogVersionEntry
public 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()
ChangeLogVersionEntry
Returns the maintainer.
getMaintainer
in interface ChangeLogVersionEntry
public void setMaintainer(PackageMaintainer maintainer)
Sets the maintainer.
maintainer
- The maintainer.public Date getDate()
ChangeLogVersionEntry
Returns the date.
getDate
in interface ChangeLogVersionEntry
public void setDate(Date date)
Sets the date,
date
- The date.Copyright © 2015–2019. All rights reserved.