public class IfIncrementingNumberRequested extends PathPrefixerAvoidResolve
PathPrefixer
s depending on whether an incrementing number
sequence was output was requested.Constructor and Description |
---|
IfIncrementingNumberRequested() |
Modifier and Type | Method and Description |
---|---|
PathPrefixerAvoidResolve |
getPrefixerElse()
Called if the requested condition is not true.
|
PathPrefixerAvoidResolve |
getPrefixerIf()
Called if the requested condition is true.
|
DirectoryWithPrefix |
outFilePrefixFromPath(NamedPath path,
Path root,
PathPrefixerContext context)
Determines the out-file prefix from a path
|
void |
setPrefixerElse(PathPrefixerAvoidResolve prefixerElse)
Called if the requested condition is not true.
|
void |
setPrefixerIf(PathPrefixerAvoidResolve prefixerIf)
Called if the requested condition is true.
|
getPrefix, outFilePrefix, outFilePrefixAvoidResolve, rootDirectoryPrefix, rootDirectoryPrefixAvoidResolve, setPrefix
resolvePath, resolvePath
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public DirectoryWithPrefix outFilePrefixFromPath(NamedPath path, Path root, PathPrefixerContext context) throws PathPrefixerException
PathPrefixerAvoidResolve
outFilePrefixFromPath
in class PathPrefixerAvoidResolve
path
- path to calculate prefix from with associated descriptive-nameroot
- root of prefixcontext
- the path-prefixer context.PathPrefixerException
public PathPrefixerAvoidResolve getPrefixerIf()
public void setPrefixerIf(PathPrefixerAvoidResolve prefixerIf)
public PathPrefixerAvoidResolve getPrefixerElse()
public void setPrefixerElse(PathPrefixerAvoidResolve prefixerElse)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.