|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.perforce.p4java.impl.generic.core.ServerResource
com.perforce.p4java.impl.generic.core.Depot
public class Depot
Simple default implementation class for the IDepot interface.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.perforce.p4java.core.IDepot |
|---|
IDepot.DepotType |
| Field Summary |
|---|
| Fields inherited from class com.perforce.p4java.impl.generic.core.ServerResource |
|---|
refreshable, server, updateable |
| Constructor Summary | |
|---|---|
Depot()
Default constructor. |
|
Depot(java.util.Map<java.lang.String,java.lang.Object> map)
Construct a Perforce depot object from a suitable map passed back from the Perforce server as the result of a depot list command. |
|
| Method Summary | |
|---|---|
java.lang.String |
getAddress()
For remote depots, return the (remote) address of the depot; for other types of depot, will return null. |
IDepot.DepotType |
getDepotType()
Get the type of this depot. |
java.lang.String |
getDescription()
Get the description associated with this depot. |
java.lang.String |
getMap()
Get the depot's path translation information. |
java.util.Date |
getModDate()
Get the date the depot was last modified. |
java.lang.String |
getName()
Get the name of the depot. |
java.lang.String |
getOwnerName()
Get the Perforce user name of the depot's owner. |
java.lang.String |
getSuffix()
For spec depots, return the optional suffix (default '.p4s') for the generated paths associated with the depot; for other depot types, return null. |
void |
setAddress(java.lang.String address)
|
void |
setDepotType(IDepot.DepotType depotType)
|
void |
setDescription(java.lang.String description)
|
void |
setMap(java.lang.String map)
|
void |
setModDate(java.util.Date modDate)
|
void |
setName(java.lang.String name)
|
void |
setOwnerName(java.lang.String ownerName)
|
void |
setSuffix(java.lang.String suffix)
|
| Methods inherited from class com.perforce.p4java.impl.generic.core.ServerResource |
|---|
canRefresh, canUpdate, complete, refresh, setRefreshable, setServer, update |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.perforce.p4java.core.IServerResource |
|---|
canRefresh, canUpdate, refresh, setServer, update |
| Constructor Detail |
|---|
public Depot()
public Depot(java.util.Map<java.lang.String,java.lang.Object> map)
map - map passed back from the Perforce server as a result of the depot list command;
if null, fields will have default values.| Method Detail |
|---|
public java.lang.String getName()
IDepot
getName in interface IDepotpublic void setName(java.lang.String name)
public java.lang.String getOwnerName()
IDepot
getOwnerName in interface IDepotpublic void setOwnerName(java.lang.String ownerName)
public java.util.Date getModDate()
IDepot
getModDate in interface IDepotpublic void setModDate(java.util.Date modDate)
public java.lang.String getDescription()
IDepot
getDescription in interface IDepotpublic void setDescription(java.lang.String description)
public IDepot.DepotType getDepotType()
IDepot
getDepotType in interface IDepotpublic void setDepotType(IDepot.DepotType depotType)
public java.lang.String getAddress()
IDepot
getAddress in interface IDepotpublic void setAddress(java.lang.String address)
public java.lang.String getSuffix()
IDepot
getSuffix in interface IDepotpublic void setSuffix(java.lang.String suffix)
public java.lang.String getMap()
IDepot
getMap in interface IDepotpublic void setMap(java.lang.String map)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||