Class FilterWithRegularExpression
Object
AnchorBean<CopyFilesNaming<NoSharedState>>
CopyFilesNaming<NoSharedState>
CopyFilesNamingWithoutSharedState
CopyFilesNamingOne
RegularExpressionBase
FilterWithRegularExpression
Rejects files that fail to match a particular regular-expression
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondestinationPathRelative(Path path, String regex) booleanisInvert()Iff true, then a file is rejected if the regular-expression matches and vice-versa.voidsetInvert(boolean invert) Iff true, then a file is rejected if the regular-expression matches and vice-versa.Methods inherited from class org.anchoranalysis.plugin.io.bean.file.copy.naming.RegularExpressionBase
destinationPathRelative, getRegex, setRegexMethods inherited from class org.anchoranalysis.plugin.io.bean.file.copy.naming.CopyFilesNamingOne
beforeCopying, destinationPathRelative, getCopyFilesNaming, setCopyFilesNamingMethods inherited from class org.anchoranalysis.plugin.io.bean.file.copy.naming.CopyFilesNaming
destinationPathMethods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
FilterWithRegularExpression
public FilterWithRegularExpression()
-
-
Method Details
-
destinationPathRelative
- Specified by:
destinationPathRelativein classRegularExpressionBase
-
isInvert
public boolean isInvert()Iff true, then a file is rejected if the regular-expression matches and vice-versa.This is the opposite to normal behaviour.
-
setInvert
public void setInvert(boolean invert) Iff true, then a file is rejected if the regular-expression matches and vice-versa.This is the opposite to normal behaviour.
-