public class DepotDelegator extends BaseDelegator implements IDepotDelegator
MAX_LIMIT_SUPPORTED_MIN_VERSION, QUERY_EXPRESSIONS_SUPPORTED_MIN_VERSION, USER_RESTRICTIONS_SUPPORTED_MIN_VERSION| Constructor and Description |
|---|
DepotDelegator(IOptionsServer server)
Instantiates a new depot delegator.
|
| Modifier and Type | Method and Description |
|---|---|
String |
createDepot(IDepot newDepot)
Create a new depot in the repository.
|
String |
deleteDepot(String name)
Delete a named depot from the repository.
|
IDepot |
getDepot(String name)
Get an individual depot by name.
|
public DepotDelegator(IOptionsServer server)
server - the serverpublic String createDepot(@Nonnull IDepot newDepot) throws P4JavaException
IDepotDelegatorcreateDepot in interface IDepotDelegatornewDepot - non-null IDepot object representing the depot to be created.P4JavaException - if any error occurs in the processing of this method.public String deleteDepot(String name) throws P4JavaException
IDepotDelegatordeleteDepot in interface IDepotDelegatorname - non-null IDepot object representing the depot to be deletedP4JavaException - if any error occurs in the processing of this method.public IDepot getDepot(String name) throws P4JavaException
IDepotDelegatorgetDepot in interface IDepotDelegatorname - non-null name of the depot to be retrieved.P4JavaException - if any error occurs in the processing of this method.Copyright © 2017 Perforce Software. All Rights Reserved.