Class UnloadDelegator
java.lang.Object
com.perforce.p4java.impl.mapbased.server.cmd.BaseDelegator
com.perforce.p4java.impl.mapbased.server.cmd.UnloadDelegator
- All Implemented Interfaces:
IUnloadDelegator
Implementation to handle the Unload command.
-
Field Summary
Fields inherited from class com.perforce.p4java.impl.mapbased.server.cmd.BaseDelegator
MAX_LIMIT_SUPPORTED_MIN_VERSION, QUERY_EXPRESSIONS_SUPPORTED_MIN_VERSION, USER_RESTRICTIONS_SUPPORTED_MIN_VERSION -
Constructor Summary
ConstructorsConstructorDescriptionUnloadDelegator(IOptionsServer server) Instantiate a new UnloadDelegator, providing the server object that will be used to execute Perforce Helix attribute commands. -
Method Summary
Modifier and TypeMethodDescriptionunload(UnloadOptions opts) Unloads a client or label to the unload depot.
-
Constructor Details
-
UnloadDelegator
Instantiate a new UnloadDelegator, providing the server object that will be used to execute Perforce Helix attribute commands.- Parameters:
server- a concrete implementation of a Perforce Helix Server
-
-
Method Details
-
unload
Description copied from interface:IUnloadDelegatorUnloads a client or label to the unload depot.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.
- Specified by:
unloadin interfaceIUnloadDelegator- Parameters:
opts- possibly-null UnloadOptions object specifying method options.- Returns:
- non-null result message string from the unload operation.
- Throws:
P4JavaException- if an error occurs processing this method and its parameters.
-