
public class Changeset extends BasicPropertiesAware implements Validateable, Serializable
properties| Constructor and Description |
|---|
Changeset()
Constructs a new instance of changeset.
|
Changeset(String id,
Long date,
Person author)
Constructs a new instance of changeset.
|
Changeset(String id,
Long date,
Person author,
String description)
Constructs a new instance of changeset.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Person |
getAuthor()
Returns the author of the changeset.
|
List<String> |
getBranches()
Returns the branches of the changeset.
|
Long |
getDate()
Returns the creation date of the changeset.
|
String |
getDescription()
Return the description (commit message) of the changeset.
|
String |
getId()
Returns the id of the changeset.
|
Modifications |
getModifications()
Returns the file modifications, which was done with this changeset.
|
List<String> |
getParents()
Return the ids of the parent changesets.
|
List<String> |
getTags()
Returns tags associated with this changeset.
|
int |
hashCode() |
boolean |
isValid()
Returns true if the changeset is valid.
|
void |
setAuthor(Person author)
Sets the author of the changeset.
|
void |
setBranches(List<String> branches)
Sets the branches of the changeset.
|
void |
setDate(Long date)
Sets the date of the changeset.
|
void |
setDescription(String description)
Sets the description (commit message) of the changeset.
|
void |
setId(String id)
Sets the id of the changeset.
|
void |
setModifications(Modifications modifications)
Sets the file modification of the changeset.
|
void |
setParents(List<String> parents)
Sets the parents of the changeset.
|
void |
setTags(List<String> tags)
Sets the tags of the changeset
|
String |
toString() |
getProperties, getProperty, removeProperty, setProperties, setPropertypublic Changeset()
public Changeset(String id, Long date, Person author)
id - id of the changesetdate - date of the changesetauthor - author of the changesetpublic boolean equals(Object obj)
equals in class BasicPropertiesAwareobj - public int hashCode()
hashCode in class BasicPropertiesAwarepublic Person getAuthor()
public List<String> getBranches()
public Long getDate()
public String getDescription()
public String getId()
public Modifications getModifications()
public List<String> getParents()
public List<String> getTags()
public boolean isValid()
isValid in interface Validateablepublic void setAuthor(Person author)
author - author of the changesetpublic void setBranches(List<String> branches)
branches - branches of the changesetpublic void setDate(Long date)
date - date of the changesetpublic void setDescription(String description)
description - description of the changesetpublic void setId(String id)
id - id of the changesetpublic void setModifications(Modifications modifications)
modifications - file modificationspublic void setParents(List<String> parents)
parents - parents of the changesetCopyright © 2013. All Rights Reserved.