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 java.lang.String
DEFAULT_ROLE_HINT
The default role-hint: "default".static java.lang.String
ROLE
Role used to register component implementations with the container.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isSelected(FileInfo fileInfo)
Returns, whether the given file is selected.
-
-
-
Field Detail
-
ROLE
static final java.lang.String ROLE
Role used to register component implementations with the container.
-
DEFAULT_ROLE_HINT
static final java.lang.String DEFAULT_ROLE_HINT
The default role-hint: "default".- See Also:
- Constant Field Values
-
-
Method Detail
-
isSelected
boolean isSelected(@Nonnull FileInfo fileInfo) throws java.io.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 ofPlexusIoResource
.- Throws:
java.io.IOException
-
-