public interface IConfigureDelegator
Modifier and Type | Method and Description |
---|---|
String |
setOrUnsetServerConfigurationValue(String name,
String value)
Set or unset a specific names server configuration variable.
|
List<ServerConfigurationValue> |
showServerConfiguration(String serverName,
String variableName)
Show server configuration values.
|
String setOrUnsetServerConfigurationValue(@Nonnull String name, @Nullable String value) throws P4JavaException
Expected variable name formats are as specified in the main Perforce documentation: [servername + #] variablename -- but this is not enforced by P4Java itself.
Note: you must be an admin or super user for this command to work.
name
- non-null config variable name.value
- if null, unset the named variable; otherwise, set it to the
passed-in string value.P4JavaException
- if an error occurs processing this method and its parameters.List<ServerConfigurationValue> showServerConfiguration(String serverName, String variableName) throws P4JavaException
Note: you must be an admin or super user for this command to work.
serverName
- if not null, only show values associated with the named
server; if equals ServerConfigurationValue.ALL_SERVERS, show
values associated with all participating servers.variableName
- if not null, only show the value of this named config
variable.P4JavaException
- if an error occurs processing this method and its parameters.Copyright © 2017 Perforce Software. All Rights Reserved.