public class UnloadDelegator extends BaseDelegator implements IUnloadDelegator
MAX_LIMIT_SUPPORTED_MIN_VERSION, QUERY_EXPRESSIONS_SUPPORTED_MIN_VERSION, USER_RESTRICTIONS_SUPPORTED_MIN_VERSION
Constructor and Description |
---|
UnloadDelegator(IOptionsServer server)
Instantiate a new UnloadDelegator, providing the server object that will be used to
execute Perforce Helix attribute commands.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
unload(UnloadOptions opts)
Unloads a client or label to the unload depot.
|
public UnloadDelegator(IOptionsServer server)
server
- a concrete implementation of a Perforce Helix Serverpublic java.lang.String unload(UnloadOptions opts) throws P4JavaException
IUnloadDelegator
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.
unload
in interface IUnloadDelegator
opts
- possibly-null UnloadOptions object specifying method options.P4JavaException
- if an error occurs processing this method and its parameters.