Class LimitWithDirectory
Object
AnchorBean<FilesProvider>
FilesProvider
FilesProviderWithDirectory
FilesProviderWithDirectoryUnary
LimitWithDirectory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
void
setMaxNumItems
(int maxNumItems) Transform an existing collection of files.Methods inherited from class org.anchoranalysis.io.input.bean.files.FilesProviderWithDirectoryUnary
getDirectoryAsPath, getFiles, matchingFilesForDirectory, setFiles
Methods inherited from class org.anchoranalysis.io.input.bean.files.FilesProviderWithDirectory
create, getDirectoryAsPathEnsureAbsolute, rootDirectory
Methods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
LimitWithDirectory
public LimitWithDirectory()
-
-
Method Details
-
transform
Description copied from class:FilesProviderWithDirectoryUnary
Transform an existing collection of files.Note that the incoming collection of files may be modified, and can no longer be used in its original form after this method call.
- Specified by:
transform
in classFilesProviderWithDirectoryUnary
- Parameters:
source
- the incoming files (which may be consumed and modified).- Returns:
- the transformed (outgoing) files.
- Throws:
FilesProviderException
- if unable to complete the transform operation successfully.
-
getMaxNumItems
public int getMaxNumItems() -
setMaxNumItems
public void setMaxNumItems(int maxNumItems)
-