com.stratelia.webactiv.beans.admin
Class SynchroReport

java.lang.Object
  extended by com.stratelia.webactiv.beans.admin.SynchroReport

public class SynchroReport
extends Object


Field Summary
static int STATE_ENDED
           
static int STATE_NOSYNC
           
static int STATE_STARTED
           
static int STATE_WAITSTART
           
static int TRACE_LEVEL_DEBUG
           
static int TRACE_LEVEL_ERROR
           
static int TRACE_LEVEL_FATAL
           
static int TRACE_LEVEL_INFO
           
static int TRACE_LEVEL_UNKNOWN
           
static int TRACE_LEVEL_WARN
           
 
Constructor Summary
SynchroReport()
           
 
Method Summary
protected static void addMessage(String msg, int priority)
           
static void debug(String classe, String message, Throwable ex)
           
static void error(String classe, String message, Throwable ex)
           
static String getMessage()
           
static String getModuleName()
           
static int getState()
          Recupere l'etat
static int getTraceLevel()
          Recupere le niveau de trace
static String getTraceLevelStr()
          Recupere le niveau de trace ds une chaine
static void info(String classe, String message, Throwable ex)
           
static boolean isSynchroActive()
           
protected static String msgFormat(int traceLvl, String classe, String msgToTrace, Throwable ex)
           
static void setState(int iStateCours)
          Fixe l'etat
static void setTraceLevel(int iTraceLevelFixed)
          Fixe le niveau de trace
static void startSynchro()
           
static void stopSynchro()
           
static void warn(String classe, String message, Throwable ex)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TRACE_LEVEL_UNKNOWN

public static final int TRACE_LEVEL_UNKNOWN
See Also:
Constant Field Values

TRACE_LEVEL_DEBUG

public static final int TRACE_LEVEL_DEBUG
See Also:
Constant Field Values

TRACE_LEVEL_INFO

public static final int TRACE_LEVEL_INFO
See Also:
Constant Field Values

TRACE_LEVEL_WARN

public static final int TRACE_LEVEL_WARN
See Also:
Constant Field Values

TRACE_LEVEL_ERROR

public static final int TRACE_LEVEL_ERROR
See Also:
Constant Field Values

TRACE_LEVEL_FATAL

public static final int TRACE_LEVEL_FATAL
See Also:
Constant Field Values

STATE_NOSYNC

public static final int STATE_NOSYNC
See Also:
Constant Field Values

STATE_WAITSTART

public static final int STATE_WAITSTART
See Also:
Constant Field Values

STATE_STARTED

public static final int STATE_STARTED
See Also:
Constant Field Values

STATE_ENDED

public static final int STATE_ENDED
See Also:
Constant Field Values
Constructor Detail

SynchroReport

public SynchroReport()
Method Detail

getModuleName

public static String getModuleName()

setTraceLevel

public static void setTraceLevel(int iTraceLevelFixed)
Fixe le niveau de trace


getTraceLevel

public static int getTraceLevel()
Recupere le niveau de trace


getTraceLevelStr

public static String getTraceLevelStr()
Recupere le niveau de trace ds une chaine

Returns:

setState

public static void setState(int iStateCours)
Fixe l'etat


getState

public static int getState()
Recupere l'etat


getMessage

public static String getMessage()

startSynchro

public static void startSynchro()

stopSynchro

public static void stopSynchro()

debug

public static void debug(String classe,
                         String message,
                         Throwable ex)

info

public static void info(String classe,
                        String message,
                        Throwable ex)

warn

public static void warn(String classe,
                        String message,
                        Throwable ex)

error

public static void error(String classe,
                         String message,
                         Throwable ex)

addMessage

protected static void addMessage(String msg,
                                 int priority)

isSynchroActive

public static boolean isSynchroActive()

msgFormat

protected static String msgFormat(int traceLvl,
                                  String classe,
                                  String msgToTrace,
                                  Throwable ex)


Copyright © 2016 Silverpeas. All Rights Reserved.