public class DepotsDelegator extends BaseDelegator implements IDepotsDelegator
MAX_LIMIT_SUPPORTED_MIN_VERSION, QUERY_EXPRESSIONS_SUPPORTED_MIN_VERSION, USER_RESTRICTIONS_SUPPORTED_MIN_VERSION| Constructor and Description |
|---|
DepotsDelegator(IOptionsServer server)
Instantiates a new depots delegator.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<IDepot> |
getDepots()
Gets the depots.
|
java.util.List<IDepot> |
getDepots(GetDepotsOptions opts)
Gets depots with type and namefilter
|
public DepotsDelegator(IOptionsServer server)
server - the serverpublic java.util.List<IDepot> getDepots() throws ConnectionException, RequestException, AccessException
IDepotsDelegatorgetDepots in interface IDepotsDelegatorConnectionException - the connection exceptionRequestException - the request exceptionAccessException - the access exceptionpublic java.util.List<IDepot> getDepots(GetDepotsOptions opts) throws P4JavaException
IDepotsDelegatorgetDepots in interface IDepotsDelegatoropts - optionsP4JavaException - on error