public interface IKeyDelegator
Modifier and Type | Method and Description |
---|---|
String |
deleteKey(String keyName)
Delete a key on a Perforce server.
|
String |
getKey(String keyName)
Get the value of a named Perforce key from the Perforce server.
|
String |
setKey(String keyName,
String value,
KeyOptions opts)
Create, set or delete a key on a Perforce server.
|
String deleteKey(String keyName) throws P4JavaException
keyName
- non-null key name.P4JavaException
- if an error occurs processing this method and its parameters.String setKey(String keyName, String value, KeyOptions opts) throws P4JavaException
keyName
- non-null key name.value
- value the key should be set to; can be null if the set
operation is an increment.opts
- KeyOptions object describing optional parameters; if null, no
options are set.P4JavaException
- if an error occurs processing this method and its parameters.String getKey(String keyName) throws P4JavaException
keyName
- non-null key name.P4JavaException
- if an error occurs processing this method and its parameters.Copyright © 2017 Perforce Software. All Rights Reserved.