Package de.hybris.y2ysync.task.logging
Class Y2YSyncLoggingCtxFactory
- java.lang.Object
-
- de.hybris.y2ysync.task.logging.Y2YSyncLoggingCtxFactory
-
public class Y2YSyncLoggingCtxFactory extends java.lang.Object
Creates logging context for tasks that are a part of y2y-synchronization process.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CLUSTER_ID
static java.lang.String
PROCESS_EXECUTION_ID
static java.lang.String
THREAD_ID
-
Constructor Summary
Constructors Constructor Description Y2YSyncLoggingCtxFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TaskLoggingCtx
createY2YSyncTaskLogger(TaskModel task)
void
finish(TaskLoggingCtx taskCtx)
void
setClusterService(ClusterService clusterService)
void
setCronJobService(CronJobService cronJobService)
void
setLoggerName(java.lang.String loggerName)
void
setLogLevel(java.lang.String logLevel)
void
setMediaService(MediaService mediaService)
void
setModelService(ModelService modelService)
-
-
-
Field Detail
-
THREAD_ID
public static final java.lang.String THREAD_ID
- See Also:
- Constant Field Values
-
PROCESS_EXECUTION_ID
public static final java.lang.String PROCESS_EXECUTION_ID
- See Also:
- Constant Field Values
-
CLUSTER_ID
public static final java.lang.String CLUSTER_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
createY2YSyncTaskLogger
public TaskLoggingCtx createY2YSyncTaskLogger(TaskModel task)
-
finish
public void finish(TaskLoggingCtx taskCtx)
-
setModelService
public void setModelService(ModelService modelService)
-
setMediaService
public void setMediaService(MediaService mediaService)
-
setClusterService
public void setClusterService(ClusterService clusterService)
-
setCronJobService
public void setCronJobService(CronJobService cronJobService)
-
setLogLevel
public void setLogLevel(java.lang.String logLevel)
-
setLoggerName
public void setLoggerName(java.lang.String loggerName)
-
-