Package org.jboss.shrinkwrap.api
Interface Node
-
- All Known Implementing Classes:
NodeImpl
public interface NodeRepresents an entry inside anArchive. Indicates an empty directory ifgetAsset()returns null. May be the parent of childNodes. Lives inside theArchiveunder the context denoted bygetPath().- Author:
- German Escobar
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AssetgetAsset()Set<Node>getChildren()ArchivePathgetPath()
-
-
-
Method Detail
-
getChildren
Set<Node> getChildren()
- Returns:
- The child nodes of this node or, an empty set if it has no children or holds an asset. This method will never return null. The returned Set will be an immutable view.
-
getPath
ArchivePath getPath()
- Returns:
- The path where this node is placed within the
Archive
-
-