|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.starteam.StarTeamURL
public final class StarTeamURL
StarTeamURL uses a URL-like syntax to reference a StarTeam Server, Project, View or Item. it provides a convenient way to locate important StarTeam objects.
StarTeamURL supports the following syntax:
starteam://username:password@hostname:port/Project/View/FolderA/FolderB/... (This is the general form of the StarTeam URL naming scheme SCHEME=NAME, which is the default StarTeam URL naming scheme.
StarTeamURL fully supports the generalized StarTeam URL naming scheme by Name or ID. (see the document StarTeam-URL-spec.html) However, URLs in the more generalized form are harder to construct 'by hand' and are best generated using the SDK method Application.toStarTeamURL
Application.resolve(String),
Application.toStarTeamURL(Object, boolean, boolean),
Server.Server(ServerInfo)| Constructor Summary | |
|---|---|
StarTeamURL(Application app,
java.lang.String url)
Construct a new StarTeamURL with the given specifier. |
|
| Method Summary | |
|---|---|
Folder |
resolveFolder()
Connects to and logs on to the specified server and finds the specified folder. |
Project |
resolveProject()
Connects to and logs on to the specified server and finds the specified project. |
Server |
resolveServer()
Connect to and log on to a server object specified by the StarTeam url string. |
View |
resolveView()
Connects to and logs on to the specified server and finds the specified view. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StarTeamURL(Application app,
java.lang.String url)
app - the Application in whose context the URL will be resolvedurl - the string specifier of the StarTeamURL.| Method Detail |
|---|
public Server resolveServer()
public Project resolveProject()
public View resolveView()
public Folder resolveFolder()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||