public abstract class RegularExpressionBase extends CopyFilesNamingOne
CopyFilesNaming
classes that use a regular-expression.Constructor and Description |
---|
RegularExpressionBase() |
Modifier and Type | Method and Description |
---|---|
Optional<Path> |
destinationPathRelative(Path path) |
protected abstract Optional<Path> |
destinationPathRelative(Path path,
String regex) |
String |
getRegex() |
void |
setRegex(String regex) |
beforeCopying, destinationPathRelative, getCopyFilesNaming, setCopyFilesNaming
destinationPath
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public Optional<Path> destinationPathRelative(Path path)
destinationPathRelative
in class CopyFilesNamingOne
protected abstract Optional<Path> destinationPathRelative(Path path, String regex)
public String getRegex()
public void setRegex(String regex)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.