Class PathPrefixerContext

Object
PathPrefixerContext

public class PathPrefixerContext extends Object
Context parameters provided to a link PathPrefixer.
Author:
Owen Feehan
  • Constructor Details

    • PathPrefixerContext

      public PathPrefixerContext() throws PathPrefixerException
      Create with default parameters.
      Throws:
      PathPrefixerException - if a prefix cannot be successfully derived.
    • PathPrefixerContext

      public PathPrefixerContext(boolean debugMode, OutputPrefixerSettings prefixer) throws PathPrefixerException
      Create with specific parameters.
      Parameters:
      debugMode - whether debug-mode is activated
      prefixer - settings for where and how outputs should be prefixed.
      Throws:
      PathPrefixerException - if the the path in outputDirectory is relative instead of absolute
  • Method Details

    • isDebugMode

      public boolean isDebugMode()
      Whether debug-mode is activated.
    • getPrefixer

      public OutputPrefixerSettings getPrefixer()
      Settings for where and how outputs should be prefixed.