|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.microsoft.tfs.core.clients.build.utils.BuildPath
public class BuildPath
Utility class for helping with the handling of build paths.
| Field Summary | |
|---|---|
static java.lang.String |
PATH_SEPERATOR
|
static char |
PATH_SEPERATOR_CHAR
|
static java.lang.String |
RECURSION_OPERATOR
|
static java.lang.String |
ROOT_FOLDER
|
static java.lang.String |
SLASH_RECURSION_OPERATOR
|
| Constructor Summary | |
|---|---|
BuildPath()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
combine(java.lang.String teamProject,
java.lang.String itemName)
Return the build path built from TeamProject and item - in form $/TeamProject/item |
static java.lang.String |
getItemName(java.lang.String buildPath)
Returns just the name portion of a path. |
static java.lang.String |
getTeamProject(java.lang.String buildPath)
Returns the team project portion of the build path. |
static java.lang.String |
root(java.lang.String rootPath,
java.lang.String relativePath)
Given a root and a path this method will return a combined path which is canonicalized and rooted at the new root. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PATH_SEPERATOR
"\\"public static final char PATH_SEPERATOR_CHAR
92public static final java.lang.String RECURSION_OPERATOR
"*"public static final java.lang.String SLASH_RECURSION_OPERATOR
"\\*"public static final java.lang.String ROOT_FOLDER
"\\"| Constructor Detail |
|---|
public BuildPath()
| Method Detail |
|---|
public static java.lang.String getItemName(java.lang.String buildPath)
buildPath - The path from which to retrieve the item name
public static java.lang.String getTeamProject(java.lang.String buildPath)
buildPath - The path from which to retrieve the team project.
public static java.lang.String combine(java.lang.String teamProject,
java.lang.String itemName)
teamProject - The team project that the build belongs to.itemName - The item in the Team Project.
public static java.lang.String root(java.lang.String rootPath,
java.lang.String relativePath)
rootPath - The new root which should be usedrelativePath - The path which should be appended to the new root
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||