Class KeysDelegator

    • Constructor Detail

      • KeysDelegator

        public KeysDelegator​(IOptionsServer server)
        Instantiate a new KeysDelegator, 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 Detail

      • getKeys

        public java.util.Map<java.lang.String,​java.lang.String> getKeys​(GetKeysOptions opts)
                                                                       throws P4JavaException
        Description copied from interface: IKeysDelegator
        Get a map of the Perforce server's keys.
        Specified by:
        getKeys in interface IKeysDelegator
        Parameters:
        opts - GetKeysOptions object describing optional parameters; if null, no options are set.
        Returns:
        a non-null (but possibly empty) map of keys.
        Throws:
        P4JavaException - if an error occurs processing this method and its parameters.