Class TargetPathView
- java.lang.Object
-
- io.virtdata.docsys.metafs.fs.renderfs.model.TargetPathView
-
- All Implemented Interfaces:
MarkdownStringer,Versioned
public class TargetPathView extends java.lang.Object implements Versioned, MarkdownStringer
-
-
Constructor Summary
Constructors Constructor Description TargetPathView(java.nio.file.Path path, long version)
-
Method Summary
Modifier and Type Method Description java.lang.StringasMarkdown()java.util.List<java.nio.file.Path>getBreadcrumbs()ListViewgetFiles()TreeViewgetFileTree()TargetPathViewgetParent()PathViewgetPath()longgetVersion()Get the version for this element.TargetPathViewsetParent(TargetPathView parent)java.lang.StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.virtdata.docsys.metafs.fs.renderfs.api.Versioned
isValidFor, isValidFor
-
-
-
-
Method Detail
-
setParent
public TargetPathView setParent(TargetPathView parent)
-
getParent
public TargetPathView getParent()
-
getBreadcrumbs
public java.util.List<java.nio.file.Path> getBreadcrumbs()
-
getPath
public PathView getPath()
-
getFiles
public ListView getFiles()
-
getFileTree
public TreeView getFileTree()
-
getVersion
public long getVersion()
Description copied from interface:VersionedGet the version for this element. An element is considered valid only for other elements of the same version.- Specified by:
getVersionin interfaceVersioned
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
asMarkdown
public java.lang.String asMarkdown()
- Specified by:
asMarkdownin interfaceMarkdownStringer
-
-