public class FolderStructureNode extends FileStructureNode
AbstractStructureNode for maven Folders goalchilds, content, detailEnabled| Constructor and Description |
|---|
FolderStructureNode(File content,
boolean detailEnabled)
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
AbstractStructureNode[] |
getChilds()
Returns childs of element if any exist
|
boolean |
isValid(String[] ignores,
String... params)
Regex validation for single node
|
getDetailedName, getNodeName, getParentNamegetHeader, getName, getOutput, hasMoreChilds, isEmptypublic FolderStructureNode(File content, boolean detailEnabled) throws org.apache.maven.plugin.MojoFailureException
content - detailEnabled - org.apache.maven.plugin.MojoFailureExceptionpublic boolean isValid(String[] ignores, String... params)
StructureNodeisValid in interface StructureNode<File>isValid in class AbstractStructureNode<File>ignores - regex patternsparams - this is for modules to validate if they are not printed multiple time referring to their parentBooleanpublic AbstractStructureNode[] getChilds() throws org.apache.maven.plugin.MojoFailureException
StructureNodegetChilds in interface StructureNode<File>getChilds in class FileStructureNodeAbstractStructureNodeorg.apache.maven.plugin.MojoFailureExceptionCopyright © 2015. All rights reserved.