Class FileStatOutputOptions


  • public class FileStatOutputOptions
    extends java.lang.Object
    A simple way to encapsulate the complex output options available for the IServer getExtendedFiles method. If you're not using that method, this class should probably be ignored, especially given the rather cavalier approach to implementation.

    NOTE: this class will probably be refactored or replaced in the near-term future.

    NOTE: no guidance is given here on how to use this class; please refer to the main Perforce fstat documentation for details of each option.

    • Constructor Detail

      • FileStatOutputOptions

        public FileStatOutputOptions()
      • FileStatOutputOptions

        public FileStatOutputOptions​(boolean mappedFiles,
                                     boolean syncedFiles,
                                     boolean openedNotHeadRevFiles,
                                     boolean openedFiles,
                                     boolean openedResolvedFiles,
                                     boolean openedNeedsResolvingFiles)
      • FileStatOutputOptions

        public FileStatOutputOptions​(boolean mappedFiles,
                                     boolean syncedFiles,
                                     boolean openedNotHeadRevFiles,
                                     boolean openedFiles,
                                     boolean openedResolvedFiles,
                                     boolean openedNeedsResolvingFiles,
                                     boolean shelvedFiles)
    • Method Detail

      • toStrings

        public java.util.List<java.lang.String> toStrings()
        Return a list of strings, one element for each enabled option.
        Returns:
        non-null but possibly-empty list of strings.
      • isMappedFiles

        public boolean isMappedFiles()
      • setMappedFiles

        public void setMappedFiles​(boolean mappedFiles)
      • isSyncedFiles

        public boolean isSyncedFiles()
      • setSyncedFiles

        public void setSyncedFiles​(boolean syncedFiles)
      • isOpenedNotHeadRevFiles

        public boolean isOpenedNotHeadRevFiles()
      • setOpenedNotHeadRevFiles

        public void setOpenedNotHeadRevFiles​(boolean openedNotHeadRevFiles)
      • isOpenedFiles

        public boolean isOpenedFiles()
      • setOpenedFiles

        public void setOpenedFiles​(boolean openedFiles)
      • isOpenedResolvedFiles

        public boolean isOpenedResolvedFiles()
      • setOpenedResolvedFiles

        public void setOpenedResolvedFiles​(boolean openedResolvedFiles)
      • isOpenedNeedsResolvingFiles

        public boolean isOpenedNeedsResolvingFiles()
      • setOpenedNeedsResolvingFiles

        public void setOpenedNeedsResolvingFiles​(boolean openedNeedsResolvingFiles)
      • isShelvedFiles

        public boolean isShelvedFiles()
        Returns:
        the shelvedFiles
      • setShelvedFiles

        public void setShelvedFiles​(boolean shelvedFiles)
        Parameters:
        shelvedFiles - the shelvedFiles to set