Class PathPrefixerContext
Object
org.anchoranalysis.io.output.path.prefixer.PathPrefixerContext
public class PathPrefixerContext extends Object
Context parameters provided to a link
PathPrefixer.- Author:
- Owen Feehan
-
Constructor Summary
Constructors Constructor Description PathPrefixerContext()Create with default parameters.PathPrefixerContext(boolean debugMode, OutputPrefixerSettings prefixer)Create with specific parameters. -
Method Summary
Modifier and Type Method Description OutputPrefixerSettingsgetPrefixer()Settings for where and how outputs should be prefixed.booleanisDebugMode()Whether debug-mode is activated.
-
Constructor Details
-
PathPrefixerContext
Create with default parameters.- Throws:
PathPrefixerException- if a prefix cannot be successfully derived.
-
PathPrefixerContext
public PathPrefixerContext(boolean debugMode, OutputPrefixerSettings prefixer) throws PathPrefixerExceptionCreate with specific parameters.- Parameters:
debugMode- whether debug-mode is activatedprefixer- settings for where and how outputs should be prefixed.- Throws:
PathPrefixerException- if the the path inoutputDirectoryis relative instead of absolute
-
-
Method Details
-
isDebugMode
public boolean isDebugMode()Whether debug-mode is activated. -
getPrefixer
Settings for where and how outputs should be prefixed.
-