Class IfIncrementingNumberRequested
Object
org.anchoranalysis.bean.AnchorBean<org.anchoranalysis.io.output.bean.path.prefixer.PathPrefixer>
org.anchoranalysis.io.output.bean.path.prefixer.PathPrefixer
org.anchoranalysis.io.output.bean.path.prefixer.PathPrefixerAvoidResolve
org.anchoranalysis.plugin.io.bean.file.path.prefixer.IfIncrementingNumberRequested
public class IfIncrementingNumberRequested
extends org.anchoranalysis.io.output.bean.path.prefixer.PathPrefixerAvoidResolve
Multiplexes between two
PathPrefixers depending on whether an incrementing number
sequence was output was requested.- Author:
- Owen Feehan
-
Constructor Summary
Constructors Constructor Description IfIncrementingNumberRequested() -
Method Summary
Modifier and Type Method Description org.anchoranalysis.io.output.bean.path.prefixer.PathPrefixerAvoidResolvegetPrefixerElse()Called if the requested condition is not true.org.anchoranalysis.io.output.bean.path.prefixer.PathPrefixerAvoidResolvegetPrefixerIf()Called if the requested condition is true.org.anchoranalysis.io.output.path.prefixer.DirectoryWithPrefixoutFilePrefixFromPath(org.anchoranalysis.io.output.path.prefixer.NamedPath path, Path root, org.anchoranalysis.io.output.path.prefixer.PathPrefixerContext context)voidsetPrefixerElse(org.anchoranalysis.io.output.bean.path.prefixer.PathPrefixerAvoidResolve prefixerElse)Called if the requested condition is not true.voidsetPrefixerIf(org.anchoranalysis.io.output.bean.path.prefixer.PathPrefixerAvoidResolve prefixerIf)Called if the requested condition is true.Methods inherited from class org.anchoranalysis.io.output.bean.path.prefixer.PathPrefixerAvoidResolve
getPrefix, outFilePrefix, outFilePrefixAvoidResolve, rootDirectoryPrefix, rootDirectoryPrefixAvoidResolve, setPrefixMethods inherited from class org.anchoranalysis.io.output.bean.path.prefixer.PathPrefixer
resolvePath, resolvePath
-
Constructor Details
-
IfIncrementingNumberRequested
public IfIncrementingNumberRequested()
-
-
Method Details
-
outFilePrefixFromPath
public org.anchoranalysis.io.output.path.prefixer.DirectoryWithPrefix outFilePrefixFromPath(org.anchoranalysis.io.output.path.prefixer.NamedPath path, Path root, org.anchoranalysis.io.output.path.prefixer.PathPrefixerContext context) throws org.anchoranalysis.io.output.path.prefixer.PathPrefixerException- Specified by:
outFilePrefixFromPathin classorg.anchoranalysis.io.output.bean.path.prefixer.PathPrefixerAvoidResolve- Throws:
org.anchoranalysis.io.output.path.prefixer.PathPrefixerException
-
getPrefixerIf
public org.anchoranalysis.io.output.bean.path.prefixer.PathPrefixerAvoidResolve getPrefixerIf()Called if the requested condition is true. -
setPrefixerIf
public void setPrefixerIf(org.anchoranalysis.io.output.bean.path.prefixer.PathPrefixerAvoidResolve prefixerIf)Called if the requested condition is true. -
getPrefixerElse
public org.anchoranalysis.io.output.bean.path.prefixer.PathPrefixerAvoidResolve getPrefixerElse()Called if the requested condition is not true. -
setPrefixerElse
public void setPrefixerElse(org.anchoranalysis.io.output.bean.path.prefixer.PathPrefixerAvoidResolve prefixerElse)Called if the requested condition is not true.
-