public class ReloadDelegator extends BaseDelegator implements IReloadDelegator
MAX_LIMIT_SUPPORTED_MIN_VERSION, QUERY_EXPRESSIONS_SUPPORTED_MIN_VERSION, USER_RESTRICTIONS_SUPPORTED_MIN_VERSION
Constructor and Description |
---|
ReloadDelegator(IOptionsServer server)
Instantiate a new ReloadDelegator, providing the server object that will be used to
execute Perforce Helix attribute commands.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
reload(ReloadOptions opts)
Reload an unloaded client or label.
|
public ReloadDelegator(IOptionsServer server)
server
- a concrete implementation of a Perforce Helix Serverpublic java.lang.String reload(ReloadOptions opts) throws P4JavaException
IReloadDelegator
Note that by default, users can only unload their own clients or labels. The -f flag requires 'admin' access, which is granted by 'p4 protect'. The full semantics of this operation are found in the main 'p4 help unload' documentation.
reload
in interface IReloadDelegator
opts
- possibly-null ReloadOptions object specifying method options.P4JavaException
- if an error occurs processing this method and its parameters.