com.pmease.quickbuild.repositorysupport
Class BuildChangeset

java.lang.Object
  extended by com.pmease.quickbuild.repositorysupport.BuildChangeset
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<BuildChangeset>

public class BuildChangeset
extends java.lang.Object
implements java.io.Serializable, java.lang.Comparable<BuildChangeset>

This class represents a changeset of the build.

See Also:
Serialized Form

Constructor Summary
BuildChangeset(java.lang.String repositoryName, Changeset changeset)
           
BuildChangeset(java.lang.String repositoryName, java.lang.String changeId)
           
 
Method Summary
 int compareTo(BuildChangeset other)
           
 Changeset getChangeset()
           
 java.util.Set<java.lang.String> getClosedTasks()
           
 java.lang.String getComment()
           
 java.util.Date getDate()
           
 java.lang.String getId()
           
 java.util.List<Modification> getModifications()
           
 java.lang.String getRepositoryName()
           
 java.lang.String getUser()
           
 void setClosedTasks(java.util.Set<java.lang.String> closedTasks)
           
 void setComment(java.lang.String comment)
           
 void setDate(java.util.Date date)
           
 void setId(java.lang.String id)
           
 void setModifications(java.util.List<Modification> modifications)
           
 void setRepositoryName(java.lang.String repositoryName)
           
 void setUser(java.lang.String user)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildChangeset

public BuildChangeset(java.lang.String repositoryName,
                      java.lang.String changeId)

BuildChangeset

public BuildChangeset(java.lang.String repositoryName,
                      Changeset changeset)
Method Detail

getChangeset

public Changeset getChangeset()
Get enclosed changeset object.


getRepositoryName

public java.lang.String getRepositoryName()
Get name of the repository containing this changeset.


setRepositoryName

public void setRepositoryName(java.lang.String repositoryName)

getUser

public java.lang.String getUser()
Get user who committed this change. Null if unknown.


setUser

public void setUser(java.lang.String user)

getDate

public java.util.Date getDate()
Get date of the change. Null if unknown.


setDate

public void setDate(java.util.Date date)

getId

public java.lang.String getId()
Get identifier of the change. Will not be null.


setId

public void setId(java.lang.String id)

getComment

public java.lang.String getComment()
Get comment of the change. Null if no comment.


setComment

public void setComment(java.lang.String comment)

getModifications

public java.util.List<Modification> getModifications()
Get list of modifications contained in this change set.


setModifications

public void setModifications(java.util.List<Modification> modifications)

getClosedTasks

public java.util.Set<java.lang.String> getClosedTasks()
Get closed tasks in this changeset. Null or empty set if there is no closed tasks.


setClosedTasks

public void setClosedTasks(java.util.Set<java.lang.String> closedTasks)

compareTo

public int compareTo(BuildChangeset other)
Specified by:
compareTo in interface java.lang.Comparable<BuildChangeset>


Copyright © 2005-2010 PMEase Inc. All Rights Reserved.