com.atlassian.fisheye.spi.data
Class PathInfoData

java.lang.Object
  extended by com.atlassian.fisheye.spi.data.PathInfoData

public class PathInfoData
extends java.lang.Object

Data object for information about a file or directory in the fisheye index


Constructor Summary
PathInfoData()
           
PathInfoData(java.lang.String name, boolean isDir, boolean isHeadDeleted)
           
 
Method Summary
 java.lang.String getName()
           
 boolean isDir()
           
 boolean isHeadDeleted()
           
 void setDir(boolean dir)
           
 void setHeadDeleted(boolean headDeleted)
           
 void setName(java.lang.String name)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PathInfoData

public PathInfoData(java.lang.String name,
                    boolean isDir,
                    boolean isHeadDeleted)
Parameters:
name - The name of the file or directory
isDir - true if this path is a directory
isHeadDeleted - true if this path has been deleted on the repository head

PathInfoData

public PathInfoData()
Method Detail

getName

public java.lang.String getName()
Returns:
the name of the file or directory

isDir

public boolean isDir()
Returns:
true if this path is a directory

isHeadDeleted

public boolean isHeadDeleted()
Returns:
if this path has been deleted on the repository head

toString

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

setName

public void setName(java.lang.String name)

setDir

public void setDir(boolean dir)

setHeadDeleted

public void setHeadDeleted(boolean headDeleted)