Class DirsDelegator

    • Constructor Detail

      • DirsDelegator

        public DirsDelegator​(IOptionsServer server)
        Instantiates a new dirs delegator.
        Parameters:
        server - the server
    • Method Detail

      • getDirectories

        public java.util.List<IFileSpec> getDirectories​(@Nonnull
                                                        java.util.List<IFileSpec> fileSpecs,
                                                        boolean clientOnly,
                                                        boolean deletedOnly,
                                                        boolean haveListOnly)
                                                 throws ConnectionException,
                                                        AccessException
        Description copied from interface: IDirsDelegator
        List any directories matching the passed-in file specifications and other options.
        Specified by:
        getDirectories in interface IDirsDelegator
        Parameters:
        fileSpecs - the file specs
        clientOnly - the client only
        deletedOnly - the deleted only
        haveListOnly - the have list only
        Returns:
        the directories
        Throws:
        ConnectionException - the connection exception
        AccessException - the access exception
      • getDirectories

        public java.util.List<IFileSpec> getDirectories​(java.util.List<IFileSpec> fileSpecs,
                                                        GetDirectoriesOptions opts)
                                                 throws P4JavaException
        Description copied from interface: IDirsDelegator
        List any directories matching the passed-in file specifications.
        Specified by:
        getDirectories in interface IDirsDelegator
        Parameters:
        fileSpecs - non-null list of file specifications.
        opts - GetDirectoriesOptions object describing optional parameters; if null, no options are set.
        Returns:
        non-null but possibly empty list of qualifying directory file specs; only the getPath() path will be valid.
        Throws:
        P4JavaException - if any error occurs in the processing of this method.