|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.vremanagement.softwaregateway.impl.repositorymanager.maven.MavenResultTreeParser
public class MavenResultTreeParser
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
MavenResultTreeParser(File treeFile)
Constructor |
|
| Method Summary | |
|---|---|
static ArtifactCoordinates |
getArtifactInfo(String artifactCoordinates)
|
String |
getScopedDependecy(String scope)
Build the tree parsing file |
String |
listDependency()
|
String[] |
listDependencyArray()
|
String |
printTree()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
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
| Constructor Detail |
|---|
public MavenResultTreeParser(File treeFile)
throws Exception
treeFile - file to parse
Exception - if the file does not exist| Method Detail |
|---|
public String getScopedDependecy(String scope)
throws Exception
scope - scope to filter
Exception - if parsing tree fails
public 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:runtime
Exception - if Artifact coordinates differs from templatepublic String printTree()
public String[] listDependencyArray()
throws Exception
Exception - if fails
public String listDependency()
throws Exception
Exception - if fails
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||