|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.changelog.ChangeLogEntry
Change Log Entry - holds details about revisions to a file.
Field Summary | |
static String |
AMPERSAND_ENTITY
Escaped & entity |
static String |
APOSTROPHE_ENTITY
Escaped ' entity |
static String |
GREATER_THAN_ENTITY
Escaped > entity |
static String |
LESS_THAN_ENTITY
Escaped < entity |
static String |
QUOTE_ENTITY
Escaped " entity |
Constructor Summary | |
ChangeLogEntry()
Constructor used when attributes aren't available until later |
Method Summary | |
void |
addFile(ChangeLogFile file)
Adds a file to the list for this entry |
void |
addFile(String file,
String revision)
Adds a feature to the File attribute of the Entry object. |
static String |
escapeValue(Object value)
Escape the toString of the given object. |
String |
getAuthor()
Getter for property author. |
String |
getComment()
Getter for property comment. |
Date |
getDate()
Getter for property date. |
String |
getDateFormatted()
|
String |
getTimeFormatted()
|
void |
setAuthor(String author)
Setter for property author. |
void |
setComment(String comment)
Setter for property comment. |
void |
setDate(Date date)
Setter for property date. |
String |
toString()
|
String |
toXML()
Provide the changelog entry as an XML snippet. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final String LESS_THAN_ENTITY
<
entity
public static final String GREATER_THAN_ENTITY
>
entity
public static final String AMPERSAND_ENTITY
&
entity
public static final String APOSTROPHE_ENTITY
'
entity
public static final String QUOTE_ENTITY
"
entity
Constructor Detail |
public ChangeLogEntry()
Method Detail |
public void addFile(ChangeLogFile file)
file
- a ChangeLogFile
public void addFile(String file, String revision)
file
- the file name committedrevision
- the revision of the latest changepublic String toString()
public String toXML()
public String getAuthor()
public void setAuthor(String author)
author
- New value of property author.public String getComment()
public void setComment(String comment)
comment
- New value of property comment.public Date getDate()
public void setDate(Date date)
date
- New value of property date.public String getDateFormatted()
public String getTimeFormatted()
public static final String escapeValue(Object value)
Escape the toString
of the given object.
For use in an attribute value.
value
- escape value.toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |