com.atlassian.crucible.scm
Class RevisionKey

java.lang.Object
  extended by com.atlassian.crucible.scm.RevisionKey

public class RevisionKey
extends java.lang.Object

A version of a file is uniquely identified by a path and a revision string


Constructor Summary
RevisionKey(java.lang.String path, java.lang.String revision)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getPath()
           
 java.lang.String getRevision()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RevisionKey

public RevisionKey(java.lang.String path,
                   java.lang.String revision)
Method Detail

getPath

public java.lang.String getPath()

getRevision

public java.lang.String getRevision()

toString

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

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