Class SynchroDomainReport
- java.lang.Object
-
- org.silverpeas.core.admin.domain.synchro.SynchroDomainReport
-
public class SynchroDomainReport extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
STATE_ENDED
static int
STATE_NOSYNC
static int
STATE_STARTED
static int
STATE_WAITSTART
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static void
addMessage(org.silverpeas.kernel.logging.Level msgLevel, String msg)
static void
debug(String classe, String message)
static void
error(String classe, String message, Throwable ex)
static String
getMessages()
static org.silverpeas.kernel.logging.Level
getReportLevel()
static String
getReportName()
static int
getState()
Gets the current state of the report.static void
info(String classe, String message)
static boolean
isSynchroActive()
static void
reset()
static void
setReportLevel(org.silverpeas.kernel.logging.Level reportLevel)
Sets the level from which the messages will be reported.static void
startSynchro()
static void
stopSynchro()
static void
waitForStart()
static void
warn(String classe, String message)
-
-
-
Field Detail
-
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
-
-
Method Detail
-
getReportName
public static String getReportName()
-
setReportLevel
public static void setReportLevel(org.silverpeas.kernel.logging.Level reportLevel)
Sets the level from which the messages will be reported. This level doesn't apply on the level of the logs in the report file.
-
getReportLevel
public static org.silverpeas.kernel.logging.Level getReportLevel()
-
getState
public static int getState()
Gets the current state of the report.- Returns:
- the state of the report.
-
getMessages
public static String getMessages()
-
startSynchro
public static void startSynchro()
-
stopSynchro
public static void stopSynchro()
-
reset
public static void reset()
-
waitForStart
public static void waitForStart()
-
addMessage
protected static void addMessage(org.silverpeas.kernel.logging.Level msgLevel, String msg)
-
isSynchroActive
public static boolean isSynchroActive()
-
-