org.apache.oozie.util
Class LogUtils

java.lang.Object
  extended by org.apache.oozie.util.LogUtils

public class LogUtils
extends Object

logging utilities.


Constructor Summary
LogUtils()
           
 
Method Summary
static void setLogInfo(BundleJobBean bBean, XLog.Info logInfo)
          Set the log info with the context of the given bundle bean.
static void setLogInfo(CoordinatorActionBean action, XLog.Info logInfo)
          Set the log info with the context of the given coordinator action bean.
static void setLogInfo(CoordinatorJobBean cBean, XLog.Info logInfo)
          Set the log info with the context of the given coordinator bean.
static void setLogInfo(WorkflowActionBean action, XLog.Info logInfo)
          Set the log info with the context of the given action bean.
static void setLogInfo(WorkflowJobBean workflow, XLog.Info logInfo)
          Set the log info with the context of the given workflow bean.
static void setLogInfo(XLog.Info logInfo)
          Set the thread local log info with the context of the given Info object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogUtils

public LogUtils()
Method Detail

setLogInfo

public static void setLogInfo(CoordinatorJobBean cBean,
                              XLog.Info logInfo)
Set the log info with the context of the given coordinator bean.

Parameters:
cBean - coordinator bean.
logInfo - log info

setLogInfo

public static void setLogInfo(CoordinatorActionBean action,
                              XLog.Info logInfo)
Set the log info with the context of the given coordinator action bean.

Parameters:
action - action bean.
logInfo - log info

setLogInfo

public static void setLogInfo(WorkflowJobBean workflow,
                              XLog.Info logInfo)
Set the log info with the context of the given workflow bean.

Parameters:
workflow - workflow bean.
logInfo - log info

setLogInfo

public static void setLogInfo(WorkflowActionBean action,
                              XLog.Info logInfo)
Set the log info with the context of the given action bean.

Parameters:
action - action bean.
logInfo - log info

setLogInfo

public static void setLogInfo(BundleJobBean bBean,
                              XLog.Info logInfo)
Set the log info with the context of the given bundle bean.

Parameters:
bBean - bundle bean.
logInfo - log info

setLogInfo

public static void setLogInfo(XLog.Info logInfo)
Set the thread local log info with the context of the given Info object.

Parameters:
logInfo - log info


Copyright © 2012 Apache Software Foundation. All Rights Reserved.