public interface IPropertyDelegator
Modifier and Type | Method and Description |
---|---|
String |
deleteProperty(String name,
PropertyOptions opts)
Deletes a property value from the Perforce server.
|
List<IProperty> |
getProperty(GetPropertyOptions opts)
Gets a list of one or more property values from the Perforce server.
|
String |
setProperty(String name,
String value,
PropertyOptions opts)
Updates a property value in the Perforce server, or adds the property
value to the Perforce server if it is not yet there.
|
String setProperty(String name, String value, PropertyOptions opts) throws P4JavaException
This method require that the user have 'admin' access granted by 'p4 protect'.
name
- non-null property name.value
- property value.opts
- PropertyOptions object describing optional parameters; if
null, no options are set.P4JavaException
- if an error occurs processing this method and its parameters.List<IProperty> getProperty(GetPropertyOptions opts) throws P4JavaException
The -A flag require that the user have 'admin' access granted by 'p4 protect'.
Note that specifying the -n flag when using the -l flag substantially improves the performance of this command.
opts
- GetPropertyOptions object describing optional parameters; if
null, no options are set.P4JavaException
- if an error occurs processing this method and its parameters.String deleteProperty(String name, PropertyOptions opts) throws P4JavaException
This method require that the user have 'admin' access granted by 'p4 protect'.
name
- non-null property name.opts
- PropertyOptions object describing optional parameters; if
null, no options are set.P4JavaException
- if an error occurs processing this method and its parameters.Copyright © 2017 Perforce Software. All Rights Reserved.