Class Rooted

Object
org.anchoranalysis.bean.AnchorBean<org.anchoranalysis.io.output.bean.path.prefixer.PathPrefixer>
org.anchoranalysis.io.output.bean.path.prefixer.PathPrefixer
org.anchoranalysis.plugin.io.bean.file.path.prefixer.Rooted

public class Rooted
extends org.anchoranalysis.io.output.bean.path.prefixer.PathPrefixer
Prepend a 'root' before the file-path-prefix obtained from a delegate

A root is a path that is mapped via a unique-name in a settings file to a directory

Author:
Owen Feehan
  • Constructor Summary

    Constructors 
    Constructor Description
    Rooted()  
    Rooted​(org.anchoranalysis.io.output.bean.path.prefixer.PathPrefixerAvoidResolve prefixer, String rootName)  
  • Method Summary

    Modifier and Type Method Description
    org.anchoranalysis.io.output.bean.path.prefixer.PathPrefixerAvoidResolve getPrefixer()  
    String getRootName()
    The name of the root-path to associate with this fileset.
    org.anchoranalysis.io.output.path.prefixer.DirectoryWithPrefix outFilePrefix​(org.anchoranalysis.io.output.path.prefixer.NamedPath path, Optional<String> experimentName, org.anchoranalysis.io.output.path.prefixer.PathPrefixerContext context)  
    org.anchoranalysis.io.output.path.prefixer.DirectoryWithPrefix rootDirectoryPrefix​(Optional<String> expName, org.anchoranalysis.io.output.path.prefixer.PathPrefixerContext context)  
    void setPrefixer​(org.anchoranalysis.io.output.bean.path.prefixer.PathPrefixerAvoidResolve prefixer)  
    void setRootName​(String rootName)
    The name of the root-path to associate with this fileset.

    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

    • Rooted

      public Rooted()
    • Rooted

      public Rooted​(org.anchoranalysis.io.output.bean.path.prefixer.PathPrefixerAvoidResolve prefixer, String rootName)
  • Method Details

    • outFilePrefix

      public org.anchoranalysis.io.output.path.prefixer.DirectoryWithPrefix outFilePrefix​(org.anchoranalysis.io.output.path.prefixer.NamedPath path, Optional<String> experimentName, org.anchoranalysis.io.output.path.prefixer.PathPrefixerContext context) throws org.anchoranalysis.io.output.path.prefixer.PathPrefixerException
      Specified by:
      outFilePrefix in class org.anchoranalysis.io.output.bean.path.prefixer.PathPrefixer
      Throws:
      org.anchoranalysis.io.output.path.prefixer.PathPrefixerException
    • rootDirectoryPrefix

      public org.anchoranalysis.io.output.path.prefixer.DirectoryWithPrefix rootDirectoryPrefix​(Optional<String> expName, org.anchoranalysis.io.output.path.prefixer.PathPrefixerContext context) throws org.anchoranalysis.io.output.path.prefixer.PathPrefixerException
      Specified by:
      rootDirectoryPrefix in class org.anchoranalysis.io.output.bean.path.prefixer.PathPrefixer
      Throws:
      org.anchoranalysis.io.output.path.prefixer.PathPrefixerException
    • getPrefixer

      public org.anchoranalysis.io.output.bean.path.prefixer.PathPrefixerAvoidResolve getPrefixer()
    • setPrefixer

      public void setPrefixer​(org.anchoranalysis.io.output.bean.path.prefixer.PathPrefixerAvoidResolve prefixer)
    • getRootName

      public String getRootName()
      The name of the root-path to associate with this fileset.
    • setRootName

      public void setRootName​(String rootName)
      The name of the root-path to associate with this fileset.