|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.tfs.model.Workspaces
public class Workspaces
Class that creates, deletes and gets workspaces from a TeamFoundationServer.
| Constructor Summary | |
|---|---|
Workspaces(Server server)
|
|
| Method Summary | |
|---|---|
Workspace |
createWorkspace(java.lang.String name,
java.lang.String computer,
java.lang.String owner,
java.lang.String comment)
|
void |
deleteWorkspace(Workspace workspace)
Deletes the workspace from the server |
boolean |
exists(Workspace workspace)
Returns the if the workspace exists on the server |
Workspace |
getWorkspace(java.lang.String workspaceName)
Returns the workspace with the specified name |
Workspace |
newWorkspace(java.lang.String name)
Create workspace on server and return a workspace object with the specified name |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Workspaces(Server server)
| Method Detail |
|---|
public Workspace getWorkspace(java.lang.String workspaceName)
throws java.io.IOException,
java.lang.InterruptedException
workspaceName - the name of the workspace name
java.io.IOException
java.lang.InterruptedException
public boolean exists(Workspace workspace)
throws java.io.IOException,
java.lang.InterruptedException
workspace - the workspace
java.io.IOException
java.lang.InterruptedException
public Workspace newWorkspace(java.lang.String name)
throws java.io.IOException,
java.lang.InterruptedException
name - the name of the new workspace
java.io.IOException
java.lang.InterruptedException
public void deleteWorkspace(Workspace workspace)
throws java.io.IOException,
java.lang.InterruptedException
workspace - the workspace to delete
java.io.IOException
java.lang.InterruptedException
public Workspace createWorkspace(java.lang.String name,
java.lang.String computer,
java.lang.String owner,
java.lang.String comment)
createWorkspace in interface ListWorkspacesCommand.WorkspaceFactory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||