Class PathPrefixerContext
Object
PathPrefixerContext
Context parameters provided to a link
PathPrefixer
.- Author:
- Owen Feehan
-
Constructor Summary
ConstructorsConstructorDescriptionCreate with default parameters.PathPrefixerContext
(boolean debugMode, OutputPrefixerSettings prefixer) Create with specific parameters. -
Method Summary
Modifier and TypeMethodDescriptionSettings for where and how outputs should be prefixed.boolean
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 PathPrefixerException Create 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 inoutputDirectory
is 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.
-