com.metamatrix.console.models
Class ServerLogManager
java.lang.Object
com.metamatrix.console.models.Manager
com.metamatrix.console.models.TimedManager
com.metamatrix.console.models.ServerLogManager
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.util.EventListener
public class ServerLogManager
- extends TimedManager
Extension of Manager to manage the Log tab.
Methods inherited from class com.metamatrix.console.models.TimedManager |
actionPerformed, getIsAutoRefreshEnabled, getRefreshRate, getTimer, isBusy, refresh, refresh, setBusy, setIsAutoRefreshEnabled, setRefreshRate, startTimer |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerLogManager
public ServerLogManager(ConnectionInfo connection)
- Construct a ServerLogManager
init
public void init()
- Description copied from class:
TimedManager
- Calls super.init() and also initializes timing behavior.
- Overrides:
init
in class TimedManager
- See Also:
TimedManager.setRefreshRate(int)
getAllContexts
public java.util.Set getAllContexts()
- Get all available contexts, in sorted order.
- Returns:
- Since:
- 4.3
getContextsForConfigurationIndex
public java.util.Collection getContextsForConfigurationIndex(int index)
throws AuthorizationException,
ExternalException
- Throws:
AuthorizationException
ExternalException
setContextsForConfigurationIndex
public void setContextsForConfigurationIndex(int index,
java.util.Collection contexts)
throws AuthorizationException,
ExternalException
- Throws:
AuthorizationException
ExternalException
getLoggingLevelForConfigurationIndex
public int getLoggingLevelForConfigurationIndex(int index)
throws AuthorizationException,
ExternalException
- Throws:
AuthorizationException
ExternalException
setLoggingLevelForConfigurationIndex
public void setLoggingLevelForConfigurationIndex(int index,
int level)
throws AuthorizationException,
ExternalException
- Throws:
AuthorizationException
ExternalException
getMessageLevelDisplayNames
public java.lang.String[] getMessageLevelDisplayNames()
getLogEntries
public java.util.List getLogEntries(java.util.Date startTime,
java.util.Date endTime,
java.util.List levels,
java.util.List contexts,
int maxRows)
throws AuthorizationException,
ExternalException
- Get the log entries that match the specified criteria.
- Parameters:
startTime
- endTime
- If null, will ignore this criterion.levels
- List of Integerslevels
- List of Strings. If null, will ignore this criterion and return entries with any context.maxRows
-
- Returns:
- List of LogEntry objects
- Throws:
AuthorizationException
ExternalException
- Since:
- 4.3
Copyright © 2009. All Rights Reserved.