@NotThreadSafe public class ChangeLogEntry extends AbstractChangeLogEntry
| Constructor and Description |
|---|
ChangeLogEntry(ChangeLog aChangeLog,
Date aDate,
EChangeLogAction eAction,
EChangeLogCategory eCategory,
boolean bIsIncompatible)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
EChange |
addIssue(String sIssue)
Add a new issue ID to this entry.
|
boolean |
equals(Object o) |
EChangeLogAction |
getAction() |
List<String> |
getAllIssues() |
IMultilingualText |
getAllTexts() |
EChangeLogCategory |
getCategory() |
ChangeLog |
getChangeLog() |
String |
getText(Locale aContentLocale)
Get the text of the specified locale.
|
int |
hashCode() |
boolean |
isIncompatible() |
EChange |
setText(Locale aContentLocale,
String sText)
Set the change text of this entry in the specified locale.
|
String |
toString() |
getDatepublic ChangeLogEntry(@Nonnull ChangeLog aChangeLog, @Nonnull Date aDate, @Nonnull EChangeLogAction eAction, @Nonnull EChangeLogCategory eCategory, boolean bIsIncompatible)
aChangeLog - The owning changelog object. May not be null.aDate - The issue date of the change log entry. May not be null
.eAction - The action that was performed. May not be null.eCategory - The category to which the entry belongs. May not be
null.bIsIncompatible - true if the change has known incompatibility@Nonnull public EChangeLogAction getAction()
null.@Nonnull public EChangeLogCategory getCategory()
null.public boolean isIncompatible()
true if this changelog entry is about a change that
has known incompatibility@Nonnull public EChange setText(@Nonnull Locale aContentLocale, @Nullable String sText)
aContentLocale - The locale of the change.sText - The text to be set. If the text is null or empty the
call is ignored.EChange@Nonnull @ReturnsMutableCopy public IMultilingualText getAllTexts()
@Nullable public String getText(@Nonnull Locale aContentLocale)
aContentLocale - The locale to query. May not be null.null if no such text is contained.@Nonnull public EChange addIssue(@Nullable String sIssue)
sIssue - The issue ID to be added. If it is null or empty, the
call is ignored.EChange@Nonnull @ReturnsMutableCopy public List<String> getAllIssues()
null list of all contained issue IDs.public boolean equals(Object o)
equals in class AbstractChangeLogEntrypublic int hashCode()
hashCode in class AbstractChangeLogEntrypublic String toString()
toString in class AbstractChangeLogEntryCopyright © 2014–2016 Philip Helger. All rights reserved.