jetbrains.buildServer.vcs
Class VcsFileData

java.lang.Object
  extended by jetbrains.buildServer.vcs.VcsFileData

public class VcsFileData
extends java.lang.Object

Represents a single file in VCS with a mark whether this file is a directory.

Author:
dmitry.neverov

Constructor Summary
VcsFileData(java.lang.String name, boolean directory)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getName()
           
 int hashCode()
           
 boolean isDirectory()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VcsFileData

public VcsFileData(@NotNull
                   java.lang.String name,
                   boolean directory)
Method Detail

getName

@NotNull
public java.lang.String getName()
Returns:
file name relative to the requested VCS path

isDirectory

public boolean isDirectory()

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