Class AllFilesFileSelector

  • All Implemented Interfaces:
    FileSelector

    public class AllFilesFileSelector
    extends java.lang.Object
    implements FileSelector
    The default file selector: Selects all files.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String ROLE_HINT
      The all files selectors role-hint: "all".
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isSelected​(FileInfo fileInfo)
      Returns, whether the given file is selected.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • ROLE_HINT

        public static final java.lang.String ROLE_HINT
        The all files selectors role-hint: "all".
        See Also:
        Constant Field Values
    • Constructor Detail

      • AllFilesFileSelector

        public AllFilesFileSelector()
    • Method Detail

      • isSelected

        public boolean isSelected​(@Nonnull
                                  FileInfo fileInfo)
        Description copied from interface: FileSelector
        Returns, whether the given file is selected.
        Specified by:
        isSelected in interface FileSelector
        Parameters:
        fileInfo - An instance of FileInfo with the files meta data. It is recommended, that the caller creates an instance of PlexusIoResource.