com.tek42.perforce.model
Class Workspace
java.lang.Object
com.tek42.perforce.model.AbstractViewsSupport
com.tek42.perforce.model.Workspace
- All Implemented Interfaces:
- Serializable
public class Workspace
- extends AbstractViewsSupport
- implements Serializable
Represents a Perforce clientspec or workspace.
This is necessary because the Client class that Perforce provides in their API is not complete. It is missing several
fields and we cannot extend that class because its final.
- Author:
- Mike Wille
- See Also:
- Serialized Form
Workspace
public Workspace()
toString
public String toString()
- Overrides:
toString in class Object
getName
public String getName()
- Returns:
- the name
setName
public void setName(String name)
- Parameters:
name - the name to set
getOwner
public String getOwner()
- Returns:
- the owner
setOwner
public void setOwner(String owner)
- Parameters:
owner - the owner to set
getHost
public String getHost()
- Returns:
- the host
setHost
public void setHost(String host)
- Parameters:
host - the host to set
getDescription
public String getDescription()
- Returns:
- the description
setDescription
public void setDescription(String description)
- Parameters:
description - the description to set
getRoot
public String getRoot()
- Returns:
- the root
setRoot
public void setRoot(String root)
- Parameters:
root - the root to set
getAltRoots
public String getAltRoots()
- Returns:
- the altRoots
setAltRoots
public void setAltRoots(String altRoots)
- Parameters:
altRoots - the altRoots to set
getOptions
public String getOptions()
- Returns:
- the options
setOptions
public void setOptions(String options)
- Parameters:
options - the options to set
getLineEnd
public String getLineEnd()
- Returns:
- the lineEnd
setLineEnd
public void setLineEnd(String lineEnd)
- Parameters:
lineEnd - the lineEnd to set
getSubmitOptions
public String getSubmitOptions()
- Returns:
- the submitOptions
setSubmitOptions
public void setSubmitOptions(String submitOptions)
- Parameters:
submitOptions - the submitOptions to set
getUpdate
public String getUpdate()
- Returns:
- the update
setUpdate
public void setUpdate(String update)
- Parameters:
update - the update to set
getAccess
public String getAccess()
- Returns:
- the access
setAccess
public void setAccess(String access)
- Parameters:
access - the access to set
getStream
public String getStream()
- Returns:
- the stream
setStream
public void setStream(String stream)
- Parameters:
stream - the stream to set
isNew
public boolean isNew()
- Is this workspace new (i.e. never saved)?
- Returns:
Copyright © 2004-2012 Hudson. All Rights Reserved.