Class ClientOptions

    • Constructor Summary

      Constructors 
      Constructor Description
      ClientOptions()
      Default constructor; sets all fields to false.
      ClientOptions​(boolean allWrite, boolean clobber, boolean compress, boolean locked, boolean modtime, boolean rmdir)
      Explicit-value constructor.
      ClientOptions​(boolean allWrite, boolean clobber, boolean compress, boolean locked, boolean modtime, boolean rmdir, boolean altsync)
      Explicit-value constructor.
      ClientOptions​(java.lang.String optionsString)
      Attempts to construct a ClientOptions object from a typical p4 cmd options string, e.g.
    • Constructor Detail

      • ClientOptions

        public ClientOptions()
        Default constructor; sets all fields to false.
      • ClientOptions

        public ClientOptions​(boolean allWrite,
                             boolean clobber,
                             boolean compress,
                             boolean locked,
                             boolean modtime,
                             boolean rmdir)
        Explicit-value constructor.
        Parameters:
        allWrite - allWrite
        clobber - clobber
        compress - compress
        locked - locked
        modtime - modtime
        rmdir - rmdir
      • ClientOptions

        public ClientOptions​(boolean allWrite,
                             boolean clobber,
                             boolean compress,
                             boolean locked,
                             boolean modtime,
                             boolean rmdir,
                             boolean altsync)
        Explicit-value constructor.
        Parameters:
        allWrite - allWrite
        clobber - clobber
        compress - compress
        locked - locked
        modtime - modtime
        rmdir - rmdir
        altsync - altsync
      • ClientOptions

        public ClientOptions​(java.lang.String optionsString)
        Attempts to construct a ClientOptions object from a typical p4 cmd options string, e.g. "noallwrite noclobber nocompress unlocked nomodtime normdir noaltsync". If optionsString is null, this is equivalent to calling the default constructor.
        Parameters:
        optionsString - options