com.atlassian.bamboo.commit
Class CommitFileImpl

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

public class CommitFileImpl
extends java.lang.Object
implements CommitFile, java.io.Serializable

See Also:
Serialized Form

Constructor Summary
CommitFileImpl()
           
CommitFileImpl(java.lang.String name)
           
CommitFileImpl(java.lang.String revision, java.lang.String name)
           
 
Method Summary
 CommitFile cloneCommitFile()
           
 int compareTo(java.lang.Object obj)
           
 boolean equals(java.lang.Object o)
           
 java.lang.String getCleanName()
           
 java.lang.String getName()
           
 java.lang.String getRevision()
           
 int hashCode()
           
 boolean isRevisionKnown()
           
 void setName(java.lang.String name)
           
 void setRevision(java.lang.String revision)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CommitFileImpl

public CommitFileImpl()

CommitFileImpl

public CommitFileImpl(java.lang.String name)

CommitFileImpl

public CommitFileImpl(java.lang.String revision,
                      java.lang.String name)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface CommitFile
Returns:
name of file

getCleanName

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

setName

public void setName(java.lang.String name)

getRevision

public java.lang.String getRevision()
Specified by:
getRevision in interface CommitFile
Returns:
revision of file

setRevision

public void setRevision(java.lang.String revision)

isRevisionKnown

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

cloneCommitFile

@NotNull
public CommitFile cloneCommitFile()

hashCode

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

equals

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

compareTo

public int compareTo(java.lang.Object obj)

toString

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


Copyright © 2014 Atlassian Software Systems Pty Ltd. All Rights Reserved.