Interface IReloadDelegator

All Known Subinterfaces:
IOptionsServer, IServer, IStreamingServer
All Known Implementing Classes:
NtsServerImpl, OneShotServerImpl, ReloadDelegator, RpcServer, Server

public interface IReloadDelegator
Interface to handle the Reload command.
  • Method Summary

    Modifier and Type
    Method
    Description
    Reload an unloaded client or label.
  • Method Details

    • reload

      String reload(ReloadOptions opts) throws P4JavaException
      Reload an unloaded client or label.

      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.

      Parameters:
      opts - possibly-null ReloadOptions object specifying method options.
      Returns:
      non-null result message string from the reload operation.
      Throws:
      P4JavaException - if an error occurs processing this method and its parameters.
      Since:
      2012.3