public class FileStructureNode extends AbstractStructureNode<File>
AbstractStructureNode for maven File goalchilds, content, detailEnabled| Constructor and Description |
|---|
FileStructureNode(File content,
boolean detailEnabled)
Default constructor to inform super
|
| Modifier and Type | Method and Description |
|---|---|
AbstractStructureNode[] |
getChilds()
Returns childs of element if any exist
|
String |
getDetailedName() |
String |
getNodeName()
Returns file.name or artifactId for maven project
|
String |
getParentName()
this is for modules to validate if they are not printed multiple time referring to their parent, files always return null
|
getHeader, getName, getOutput, hasMoreChilds, isEmpty, isValidpublic FileStructureNode(File content, boolean detailEnabled) throws org.apache.maven.plugin.MojoFailureException
content - detailEnabled - org.apache.maven.plugin.MojoFailureExceptionpublic AbstractStructureNode[] getChilds() throws org.apache.maven.plugin.MojoFailureException
StructureNodeAbstractStructureNodeorg.apache.maven.plugin.MojoFailureExceptionpublic String getNodeName()
StructureNodegetNodeName in interface StructureNode<File>getNodeName in class AbstractStructureNode<File>Stringpublic String getDetailedName() throws org.apache.maven.plugin.MojoFailureException
getDetailedName in class AbstractStructureNode<File>org.apache.maven.plugin.MojoFailureExceptionpublic String getParentName()
StructureNodeCopyright © 2015. All rights reserved.