org.apache.maven.scm
public class ChangeSet extends Object
Version: $Id: ChangeSet.java 386359 2006-03-16 15:48:39Z evenisse $
| 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 | |
|---|---|
| ChangeSet(String strDate, String userDatePattern, String comment, String author, List files) | |
| ChangeSet(Date date, String comment, String author, List files) | |
| ChangeSet()
Constructor used when attributes aren't available until later | |
| Method Summary | |
|---|---|
| void | addFile(ChangeFile file) |
| boolean | containsFilename(String filename, ScmProviderRepository repository) |
| boolean | equals(Object obj) |
| static String | escapeValue(Object value) Escape the |
| String | getAuthor()
Getter for property author.
|
| String | getComment()
Getter for property comment.
|
| Date | getDate()
Getter for property date.
|
| String | getDateFormatted() |
| List | getFiles()
Getter for ChangeFile list.
|
| 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.
|
| void | setDate(String date)
Setter for property date that takes a string and parses it
|
| void | setDate(String date, String userDatePattern)
Setter for property date that takes a string and parses it
|
| void | setFiles(List files)
Setter for ChangeFile list.
|
| String | toString() |
| String | toXML()
Provide the changelog entry as an XML snippet.
|
& entity' entity> entity< entity" entitySee Also: java.lang.Object#equals(java.lang.Object)
Escape the toString of the given object.
For use in an attribute value.
Parameters: value escape value.toString()
Returns: text with characters restricted (for use in attributes) escaped
Returns: Value of property author.
Returns: Value of property comment.
Returns: Value of property date.
Returns: date in yyyy-mm-dd format
Returns: List of ChangeFile.
Returns: time in HH:mm:ss format
Parameters: author New value of property author.
Parameters: comment New value of property comment.
Parameters: date New value of property date.
Parameters: date - a string in yyyy/MM/dd HH:mm:ss format
Parameters: date - a string in yyyy/MM/dd HH:mm:ss format userDatePattern - pattern of date
Parameters: files List of ChangeFiles.
Returns: Returns string representation of the changeset
Returns: a changelog-entry in xml format
UNKNOWN: make sure comment doesn't contain CDATA tags - MAVEN114