Package org.anchoranalysis.io.input.bean
Class InputManagerParameters
Object
org.anchoranalysis.io.input.bean.InputManagerParameters
public class InputManagerParameters extends Object
Parameters passed to an
InputManager to generate input-objects.- Author:
- Owen Feehan
-
Constructor Summary
Constructors Constructor Description InputManagerParameters(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) -
Method Summary
Modifier and Type Method Description Optional<DebugModeParameters>getDebugModeParameters()Parameters for debug-mode (only defined if we are in debug mode).ExecutionTimeRecordergetExecutionTimeRecorder()Allows for the execution time of certain operations to be recorded.InputContextParametersgetInputContext()Additional parameters that offer context for many beans that provide input-functions.LoggergetLogger()Where to write informative messages to, and and any non-fatal errors (fatal errors are throw as exceptions).OperationContextgetOperationContext()Allows for logging and recording the execution-time of particular operations.booleanisDebugModeActivated()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)
-
-
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.
-