public class MavenResultTreeParser extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CONTINUE
Continue Token
|
static String |
INDENT
Second level indent
|
static String |
LAST_OF_THIS_LEVEL
Last in the level token
|
static String |
MORE_ON_THIS_LEVEL
More on this level token
|
static String |
MORE_ON_THIS_LEVEL_REGEX
More on this level toker (regular expression)
|
| Constructor and Description |
|---|
MavenResultTreeParser(File treeFile)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
static ArtifactCoordinates |
getArtifactInfo(String artifactCoordinates) |
String |
getScopedDependecy(String scope)
Build the tree parsing file
|
String |
listDependency() |
String[] |
listDependencyArray() |
String |
printTree() |
public static final String MORE_ON_THIS_LEVEL
public static final String MORE_ON_THIS_LEVEL_REGEX
public static final String LAST_OF_THIS_LEVEL
public static final String CONTINUE
public static final String INDENT
public String getScopedDependecy(String scope) throws Exception
scope - scope to filterException - if parsing tree failspublic static ArtifactCoordinates getArtifactInfo(String artifactCoordinates) throws Exception
artifactCoordinates - string representing artifact ex. Portal.ThumbnailService.1.00.00:Thumbnailer-service:tar.gz:GHN:1.00.00:runtimeException - if Artifact coordinates differs from templatepublic String printTree()
public String[] listDependencyArray() throws Exception
Exception - if failsCopyright © 2015. All Rights Reserved.