Package io.camunda.migrator.impl.logging
Class VariableServiceLogs
java.lang.Object
io.camunda.migrator.impl.logging.VariableServiceLogs
Centralized logging and constants class for all variable-related operations.
Contains all logging statements, error messages, and constants used in variable processing and transformation.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringformatInterceptorWarn(String interceptorName, String variableName) Creates a formatted error message for variable interceptor failure.static voidlogConvertedDate(String name, Object originalValue, String formattedValue) Logs the result of date conversion.static voidlogConvertingDate(String variableName) Logs the start of date variable conversion.static voidlogEndExecution(Class<?> transformerClass, String variableName) Logs the end of variable transformation execution.static voidlogInterceptorWarn(String interceptorName, String variableName) Logs a warning message for variable interceptor failure.static voidlogStartExecution(Class<?> transformerClass, String variableName) Logs the start of variable transformation execution.
-
Field Details
-
DATE_FORMAT_PATTERN
- See Also:
-
START_EXECUTION_LOG
- See Also:
-
END_EXECUTION_LOG
- See Also:
-
CONVERTING_DATE_LOG
- See Also:
-
CONVERTED_DATE_LOG
- See Also:
-
VARIABLE_INTERCEPTOR_FAILED_MSG
- See Also:
-
BYTE_ARRAY_UNSUPPORTED_ERROR
- See Also:
-
FILE_TYPE_UNSUPPORTED_ERROR
- See Also:
-
JAVA_SERIALIZED_UNSUPPORTED_ERROR
- See Also:
-
JSON_DESERIALIZATION_ERROR
- See Also:
-
GENERIC_TYPE_UNSUPPORTED_ERROR
- See Also:
-
-
Constructor Details
-
VariableServiceLogs
public VariableServiceLogs()
-
-
Method Details
-
logInterceptorWarn
Logs a warning message for variable interceptor failure.- Parameters:
interceptorName- the name of the failed interceptorvariableName- the name of the variable being processed
-
formatInterceptorWarn
Creates a formatted error message for variable interceptor failure.- Parameters:
interceptorName- the interceptor class namevariableName- the variable name- Returns:
- formatted error message
-
logStartExecution
Logs the start of variable transformation execution.- Parameters:
transformerClass- the transformer classvariableName- the variable name being processed
-
logEndExecution
Logs the end of variable transformation execution.- Parameters:
transformerClass- the transformer classvariableName- the variable name being processed
-
logConvertingDate
Logs the start of date variable conversion.- Parameters:
variableName- the date variable name
-
logConvertedDate
Logs the result of date conversion.- Parameters:
name- the name of the date variableoriginalValue- the original date valueformattedValue- the formatted date string
-