jetbrains.buildServer.agent
Class VcsChange

java.lang.Object
  extended by jetbrains.buildServer.agent.VcsChange
All Implemented Interfaces:
java.lang.Comparable

public class VcsChange
extends java.lang.Object
implements java.lang.Comparable


Constructor Summary
VcsChange()
           
 
Method Summary
 int compareTo(java.lang.Object o)
           
 java.lang.String getAbsolutePath()
           
 java.lang.String getChangeType()
           
 java.lang.String getRelativePath()
           
 java.lang.String getRevision()
           
 boolean isPersonal()
           
 boolean isRelatedToClass(java.lang.String className)
           
static VcsChange parse(java.lang.String line)
           
 void setCheckoutDir(java.lang.String checkoutDir)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VcsChange

public VcsChange()
Method Detail

parse

public static VcsChange parse(java.lang.String line)

getRelativePath

public java.lang.String getRelativePath()

getAbsolutePath

public java.lang.String getAbsolutePath()

getChangeType

public java.lang.String getChangeType()

getRevision

public java.lang.String getRevision()

isPersonal

public boolean isPersonal()

setCheckoutDir

public void setCheckoutDir(java.lang.String checkoutDir)

isRelatedToClass

public boolean isRelatedToClass(java.lang.String className)
Parameters:
className - Java class name
Returns:
true if this VcsChange belongs to Java source file corresponding to specified class

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable