com.atlassian.bamboo.repository
Class ChangeLogFile

java.lang.Object
  extended by com.atlassian.bamboo.repository.ChangeLogFile
All Implemented Interfaces:
CommitFile, java.io.Serializable

public class ChangeLogFile
extends java.lang.Object
implements CommitFile

This class provides information about change log file revisions.

See Also:
Serialized Form

Constructor Summary
ChangeLogFile(java.lang.String name)
          Create a log file entry for a file with the given name,
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getCleanName()
           
 java.lang.String getName()
          What's the name of the file?
 java.lang.String getRevision()
          What's the version of the file?
 int hashCode()
           
 boolean isRevisionKnown()
           
 void setName(java.lang.String name)
           
 void setRevision(java.lang.String revision)
          Set the repository specific version number
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChangeLogFile

public ChangeLogFile(java.lang.String name)
Create a log file entry for a file with the given name,

Parameters:
name - The name of the file
Method Detail

setRevision

public void setRevision(java.lang.String revision)
Set the repository specific version number

Parameters:
revision - The version

getName

public java.lang.String getName()
What's the name of the file?

Specified by:
getName in interface CommitFile
Returns:
The file name

setName

public void setName(java.lang.String name)

getCleanName

public java.lang.String getCleanName()
Specified by:
getCleanName in interface CommitFile
Returns:
name of file with cvs discrepencies removed

getRevision

public java.lang.String getRevision()
What's the version of the file?

Specified by:
getRevision in interface CommitFile
Returns:
File version

isRevisionKnown

public boolean isRevisionKnown()
Specified by:
isRevisionKnown in interface CommitFile

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2010 Atlassian. All Rights Reserved.