Package org.anchoranalysis.io.input.bean
Class InputManagerParameters
Object
InputManagerParameters
Parameters passed to an
InputManager
to generate input-objects.- Author:
- Owen Feehan
-
Constructor Summary
ConstructorsConstructorDescriptionInputManagerParameters
(Logger logger) Create with only a logger, and using sensible default values for the other fields.InputManagerParameters
(OperationContext operationContext) Create with only aOperationContext
, and using sensible default values for the other fields.InputManagerParameters
(InputContextParameters inputContext, OperationContext operationContext) Creates a newInputManagerParameters
instance. -
Method Summary
Modifier and TypeMethodDescriptionParameters for debug-mode (only defined if we are in debug mode).Allows for the execution time of certain operations to be recorded.Additional parameters that offer context for many beans that provide input-functions.Where to write informative messages to, and and any non-fatal errors (fatal errors are throw as exceptions).Allows for logging and recording the execution-time of particular operations.boolean
Whether debug-mode has been activated.
-
Constructor Details
-
InputManagerParameters
Create with only a logger, and using sensible default values for the other fields.- Parameters:
logger
- the logger.
-
InputManagerParameters
Create with only aOperationContext
, and using sensible default values for the other fields.- Parameters:
operationContext
- context for logging and recording execution times.
-
InputManagerParameters
public InputManagerParameters(InputContextParameters inputContext, OperationContext operationContext) Creates a newInputManagerParameters
instance.- Parameters:
inputContext
- Additional parameters that offer context for many beans that provide input-functions.operationContext
- Allows for logging and recording the execution-time of particular operations.
-
-
Method Details
-
isDebugModeActivated
public boolean isDebugModeActivated()Whether debug-mode has been activated.- Returns:
- true iff debug-mode has been activated.
-
getDebugModeParameters
Parameters for debug-mode (only defined if we are in debug mode).- Returns:
- the parameters, if they exist.
-
getExecutionTimeRecorder
Allows for the execution time of certain operations to be recorded.- Returns:
- the execution-time-recorder.
-
getLogger
Where to write informative messages to, and and any non-fatal errors (fatal errors are throw as exceptions).- Returns:
- the logger.
-
getInputContext
Additional parameters that offer context for many beans that provide input-functions. -
getOperationContext
Allows for logging and recording the execution-time of particular operations.
-