public abstract class Workspace extends Object implements Cloneable, hudson.ExtensionPoint, hudson.model.Describable<Workspace>
Modifier and Type | Method and Description |
---|---|
static hudson.DescriptorExtensionList<Workspace,WorkspaceDescriptor> |
all() |
void |
clear() |
Object |
clone() |
String |
expand(String format,
boolean wildcard) |
String |
get(String tag) |
String |
getCharset() |
WorkspaceDescriptor |
getDescriptor() |
String |
getFullName()
Returns the fully expanded client workspace name.
|
String |
getHostName() |
abstract String |
getName()
Returns the client workspace name as defined in the configuration.
|
String |
getRootPath() |
abstract WorkspaceType |
getType() |
void |
load(Map<String,String> map) |
void |
set(String tag,
String value) |
abstract com.perforce.p4java.client.IClient |
setClient(com.perforce.p4java.server.IOptionsServer connection,
String user)
Setup/Create a Perforce workspace for this mode.
|
void |
setHostName(String hostname) |
void |
setRootPath(String rootPath) |
public Workspace(String charset)
public abstract WorkspaceType getType()
public abstract String getName()
public String getCharset()
public abstract com.perforce.p4java.client.IClient setClient(com.perforce.p4java.server.IOptionsServer connection, String user) throws Exception
connection
- user
- Exception
public WorkspaceDescriptor getDescriptor()
getDescriptor
in interface hudson.model.Describable<Workspace>
public static hudson.DescriptorExtensionList<Workspace,WorkspaceDescriptor> all()
public String getRootPath()
public void setHostName(String hostname)
public String getHostName()
public void setRootPath(String rootPath)
public String getFullName()
public void clear()
Copyright © 2004-2015. All Rights Reserved.