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.PathPrefixerAvoidResolve getPrefixerElse()
    Called if the requested condition is not true.
    org.anchoranalysis.io.output.bean.path.prefixer.PathPrefixerAvoidResolve getPrefixerIf()
    Called if the requested condition is true.
    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)  
    void setPrefixerElse​(org.anchoranalysis.io.output.bean.path.prefixer.PathPrefixerAvoidResolve prefixerElse)
    Called if the requested condition is not true.
    void setPrefixerIf​(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, setPrefix

    Methods inherited from class org.anchoranalysis.io.output.bean.path.prefixer.PathPrefixer

    resolvePath, resolvePath

    Methods inherited from class org.anchoranalysis.bean.AnchorBean

    checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • 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:
      outFilePrefixFromPath in class org.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.