com.atlassian.fisheye.spi.data
Class PathInfoData
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PathInfoData
public PathInfoData(java.lang.String name,
boolean isDir,
boolean isHeadDeleted)
- Parameters:
name
- The name of the file or directoryisDir
- true if this path is a directoryisHeadDeleted
- true if this path has been deleted on the repository head
PathInfoData
public PathInfoData()
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)