|
||||||||||
| 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(Map<String,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. |
|
Depot(String name,
String ownerName,
Date modDate,
String description,
IDepot.DepotType depotType,
String address,
String suffix,
String map)
Explicit-value constructor. |
|
| Method Summary | |
|---|---|
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. |
String |
getDescription()
Get the description associated with this depot. |
String |
getMap()
Get the depot's path translation information. |
Date |
getModDate()
Get the date the depot was last modified. |
String |
getName()
Get the name of the depot. |
String |
getOwnerName()
Get the Perforce user name of the depot's owner. |
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(String address)
|
void |
setDepotType(IDepot.DepotType depotType)
|
void |
setDescription(String description)
|
void |
setMap(String map)
|
void |
setModDate(Date modDate)
|
void |
setName(String name)
|
void |
setOwnerName(String ownerName)
|
void |
setSuffix(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(String name,
String ownerName,
Date modDate,
String description,
IDepot.DepotType depotType,
String address,
String suffix,
String map)
public Depot(Map<String,Object> map)
map - map passed back from the Perforce server as a result of the depot list
or depot -o commands; if null, fields will have default values.| Method Detail |
|---|
public String getName()
IDepot
getName in interface IDepotpublic void setName(String name)
public String getOwnerName()
IDepot
getOwnerName in interface IDepotpublic void setOwnerName(String ownerName)
public Date getModDate()
IDepot
getModDate in interface IDepotpublic void setModDate(Date modDate)
public String getDescription()
IDepot
getDescription in interface IDepotpublic void setDescription(String description)
public IDepot.DepotType getDepotType()
IDepot
getDepotType in interface IDepotpublic void setDepotType(IDepot.DepotType depotType)
public String getAddress()
IDepot
getAddress in interface IDepotpublic void setAddress(String address)
public String getSuffix()
IDepot
getSuffix in interface IDepotpublic void setSuffix(String suffix)
public String getMap()
IDepot
getMap in interface IDepotpublic void setMap(String map)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||