Class KeysDelegator
java.lang.Object
com.perforce.p4java.impl.mapbased.server.cmd.BaseDelegator
com.perforce.p4java.impl.mapbased.server.cmd.KeysDelegator
- All Implemented Interfaces:
IKeysDelegator
Implementation to handle the Keys command.
-
Field Summary
Fields inherited from class com.perforce.p4java.impl.mapbased.server.cmd.BaseDelegator
MAX_LIMIT_SUPPORTED_MIN_VERSION, QUERY_EXPRESSIONS_SUPPORTED_MIN_VERSION, USER_RESTRICTIONS_SUPPORTED_MIN_VERSION -
Constructor Summary
ConstructorsConstructorDescriptionKeysDelegator(IOptionsServer server) Instantiate a new KeysDelegator, providing the server object that will be used to execute Perforce Helix attribute commands. -
Method Summary
Modifier and TypeMethodDescriptiongetKeys(GetKeysOptions opts) Get a map of the Perforce server's keys.
-
Constructor Details
-
KeysDelegator
Instantiate a new KeysDelegator, providing the server object that will be used to execute Perforce Helix attribute commands.- Parameters:
server- a concrete implementation of a Perforce Helix Server
-
-
Method Details
-
getKeys
Description copied from interface:IKeysDelegatorGet a map of the Perforce server's keys.- Specified by:
getKeysin interfaceIKeysDelegator- Parameters:
opts- GetKeysOptions object describing optional parameters; if null, no options are set.- Returns:
- a non-null (but possibly empty) map of keys.
- Throws:
P4JavaException- if an error occurs processing this method and its parameters.
-