Interface FileSelector

All Known Implementing Classes:
AllFilesFileSelector, IncludeExcludeFileSelector

public interface FileSelector
Interface of a component, which selects/deselects files.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The default role-hint: "default".
    static final String
    Role used to register component implementations with the container.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isSelected(FileInfo fileInfo)
    Returns, whether the given file is selected.
  • Field Details

    • ROLE

      static final String ROLE
      Role used to register component implementations with the container.
    • DEFAULT_ROLE_HINT

      static final String DEFAULT_ROLE_HINT
      The default role-hint: "default".
      See Also:
  • Method Details

    • isSelected

      boolean isSelected(@Nonnull FileInfo fileInfo) throws IOException
      Returns, whether the given file is selected.
      Parameters:
      fileInfo - An instance of FileInfo with the files meta data. It is recommended, that the caller creates an instance of PlexusIoResource.
      Throws:
      IOException