public class CmsLogFileApp extends A_CmsWorkplaceApp
A_CmsWorkplaceApp.NavEntry| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
LOG_FOLDER
Log folder path.
|
protected CmsLogFileView |
m_fileView
The log file view layout.
|
m_infoLayout, m_rootLayout, m_uiContext, PARAM_ASSIGN, PARAM_SEPARATOR| Constructor and Description |
|---|
CmsLogFileApp() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.LinkedHashMap<java.lang.String,java.lang.String> |
getBreadCrumbForState(java.lang.String state)
Returns the current bread crumb entries in an ordered map.
|
protected com.vaadin.ui.Component |
getComponentForState(java.lang.String state)
Returns the app component for the given state.
|
protected static java.lang.String |
getFileName(org.apache.logging.log4j.core.Appender app)
Returns the file name or
null associated with the given appender. |
protected java.util.List<A_CmsWorkplaceApp.NavEntry> |
getSubNavEntries(java.lang.String state)
Returns the sub navigation entries.
|
void |
initUI(I_CmsAppUIContext context)
Within this method the app UI should be initialized.
|
protected static boolean |
isFileAppender(org.apache.logging.log4j.core.Appender appender)
Checks whether the given log appender has a getFileName method to identify file based appenders.
|
addParamToState, addSubNavEntry, getLastPathLevel, getOfflineCmsObject, getParamFromState, getParamsFromState, onStateChange, openSubView, setBreadCrumbEntries, updateBreadCrumb, updateSubNavprotected static final java.lang.String LOG_FOLDER
protected CmsLogFileView m_fileView
public CmsLogFileApp()
protected static java.lang.String getFileName(org.apache.logging.log4j.core.Appender app)
null associated with the given appender.app - the appenderprotected static boolean isFileAppender(org.apache.logging.log4j.core.Appender appender)
As since log4j 2.0 file appenders don't have one common super class that allows access to the file name, but they all implement a method 'getFileName'.
appender - the appender to checkpublic void initUI(I_CmsAppUIContext context)
I_CmsWorkplaceAppUse the context to add the app's components to the UI.
initUI in interface I_CmsWorkplaceAppinitUI in class A_CmsWorkplaceAppcontext - the UI contextA_CmsWorkplaceApp.initUI(org.opencms.ui.apps.I_CmsAppUIContext)protected java.util.LinkedHashMap<java.lang.String,java.lang.String> getBreadCrumbForState(java.lang.String state)
A_CmsWorkplaceAppgetBreadCrumbForState in class A_CmsWorkplaceAppstate - the current stateA_CmsWorkplaceApp.getBreadCrumbForState(java.lang.String)protected com.vaadin.ui.Component getComponentForState(java.lang.String state)
A_CmsWorkplaceAppgetComponentForState in class A_CmsWorkplaceAppstate - the state to renderA_CmsWorkplaceApp.getComponentForState(java.lang.String)protected java.util.List<A_CmsWorkplaceApp.NavEntry> getSubNavEntries(java.lang.String state)
A_CmsWorkplaceAppgetSubNavEntries in class A_CmsWorkplaceAppstate - the stateA_CmsWorkplaceApp.getSubNavEntries(java.lang.String)