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 |
|---|---|
java.lang.String |
createDepot(IDepot newDepot)
Create a new depot in the repository.
|
java.lang.String |
deleteDepot(java.lang.String name)
Delete a named depot from the repository.
|
IDepot |
getDepot(java.lang.String name)
Get an individual depot by name.
|
public DepotDelegator(IOptionsServer server)
server - the serverpublic java.lang.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 java.lang.String deleteDepot(java.lang.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(java.lang.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 © 2021 Perforce Software. All Rights Reserved.