com.atlassian.bamboo.repository
Class ChangeLogEntry

java.lang.Object
  extended by com.atlassian.bamboo.repository.ChangeLogEntry

public class ChangeLogEntry
extends java.lang.Object

This class is a POJO containing information about the latest repository changes


Field Summary
static java.lang.String UNKNOWN
           
 
Constructor Summary
ChangeLogEntry()
           
ChangeLogEntry(java.lang.String author, java.lang.String comment, java.util.List changedFiles, java.util.Date data)
           
 
Method Summary
 void addFile(ChangeLogFile file)
          Associate a file with this change log.
 boolean equals(java.lang.Object o)
          Default Intellij generated equality
 java.lang.String getAuthor()
          Who made the change?
 java.util.List getChangedFiles()
          Obtain the collection of ChangeLogFiles associated with this change.
 java.lang.String getComment()
          What was the annotation associated with this change?
 java.util.Date getDate()
          What was the date of this change?
 int hashCode()
          Default Intellij generated hash
 void setAuthor(java.lang.String author)
          Specify the author of this change
 void setComment(java.lang.String comment)
          Specify the change comment
 void setDate(java.util.Date date)
          Specify the date of the change
 void setFiles(java.util.List files)
          Reset the whole file list
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

UNKNOWN

public static final java.lang.String UNKNOWN
See Also:
Constant Field Values
Constructor Detail

ChangeLogEntry

public ChangeLogEntry()

ChangeLogEntry

public ChangeLogEntry(java.lang.String author,
                      java.lang.String comment,
                      java.util.List changedFiles,
                      java.util.Date data)
Method Detail

getDate

public java.util.Date getDate()
What was the date of this change?

Returns:
The date

setDate

public void setDate(java.util.Date date)
Specify the date of the change

Parameters:
date - The date

getAuthor

public java.lang.String getAuthor()
Who made the change?

Returns:
The author

setAuthor

public void setAuthor(java.lang.String author)
Specify the author of this change

Parameters:
author - The author

getComment

public java.lang.String getComment()
What was the annotation associated with this change?

Returns:
the comment

setComment

public void setComment(java.lang.String comment)
Specify the change comment

Parameters:
comment - The comment

getChangedFiles

public java.util.List getChangedFiles()
Obtain the collection of ChangeLogFiles associated with this change.

Returns:
The files

addFile

public void addFile(ChangeLogFile file)
Associate a file with this change log.

Parameters:
file - a file

setFiles

public void setFiles(java.util.List files)
Reset the whole file list

Parameters:
files -

equals

public boolean equals(java.lang.Object o)
Default Intellij generated equality

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Default Intellij generated hash

Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.