Class Limit
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
void
setMaxNumberItems
(int maxNumberItems) Transform an existing collection of files.Methods inherited from class org.anchoranalysis.io.input.bean.files.FilesProviderUnary
create, getFiles, rootDirectory, setFiles
Methods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
Limit
public Limit()
-
-
Method Details
-
transform
Description copied from class:FilesProviderUnary
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 classFilesProviderUnary
- Parameters:
source
- the incoming files (which may be consumed and modified).debugMode
- whether we are executing in debug-mode or not- Returns:
- the transformed (outgoing) files.
-
getMaxNumberItems
public int getMaxNumberItems() -
setMaxNumberItems
public void setMaxNumberItems(int maxNumberItems)
-