com.tek42.perforce.model
Class Workspace
java.lang.Object
com.tek42.perforce.model.AbstractViewsSupport
com.tek42.perforce.model.Workspace
- All Implemented Interfaces:
- java.io.Serializable
public class Workspace
- extends AbstractViewsSupport
- implements java.io.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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Workspace
public Workspace()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
getName
public java.lang.String getName()
- Returns:
- the name
setName
public void setName(java.lang.String name)
- Parameters:
name - the name to set
getOwner
public java.lang.String getOwner()
- Returns:
- the owner
setOwner
public void setOwner(java.lang.String owner)
- Parameters:
owner - the owner to set
getHost
public java.lang.String getHost()
- Returns:
- the host
setHost
public void setHost(java.lang.String host)
- Parameters:
host - the host to set
getDescription
public java.lang.String getDescription()
- Returns:
- the description
setDescription
public void setDescription(java.lang.String description)
- Parameters:
description - the description to set
getRoot
public java.lang.String getRoot()
- Returns:
- the root
setRoot
public void setRoot(java.lang.String root)
- Parameters:
root - the root to set
getAltRoots
public java.lang.String getAltRoots()
- Returns:
- the altRoots
setAltRoots
public void setAltRoots(java.lang.String altRoots)
- Parameters:
altRoots - the altRoots to set
getOptions
public java.lang.String getOptions()
- Returns:
- the options
setOptions
public void setOptions(java.lang.String options)
- Parameters:
options - the options to set
getLineEnd
public java.lang.String getLineEnd()
- Returns:
- the lineEnd
setLineEnd
public void setLineEnd(java.lang.String lineEnd)
- Parameters:
lineEnd - the lineEnd to set
getSubmitOptions
public java.lang.String getSubmitOptions()
- Returns:
- the submitOptions
setSubmitOptions
public void setSubmitOptions(java.lang.String submitOptions)
- Parameters:
submitOptions - the submitOptions to set
getUpdate
public java.lang.String getUpdate()
- Returns:
- the update
setUpdate
public void setUpdate(java.lang.String update)
- Parameters:
update - the update to set
getAccess
public java.lang.String getAccess()
- Returns:
- the access
setAccess
public void setAccess(java.lang.String access)
- Parameters:
access - the access to set
isNew
public boolean isNew()
- Is this workspace new (i.e. never saved)?
- Returns:
Copyright © 2010. All Rights Reserved.