Class CmsContextInfoDetailsFormatter
java.lang.Object
org.opencms.workplace.tools.scheduler.CmsContextInfoDetailsFormatter
- All Implemented Interfaces:
I_CmsListFormatter
This list item detail formatter creates a two column table to represent a context info object.
- Since:
- 6.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a formatted string for the specified data.voidsetEncodingMessage(org.opencms.i18n.CmsMessageContainer encodingMessage) Sets the encoding Message.voidsetLocaleMessage(org.opencms.i18n.CmsMessageContainer localeMessage) Sets the locale Message.voidsetProjectMessage(org.opencms.i18n.CmsMessageContainer projectMessage) Sets the project Message.voidsetRemoteAddrMessage(org.opencms.i18n.CmsMessageContainer remoteAddrMessage) Sets the remote Address Message.voidsetRequestedURIMessage(org.opencms.i18n.CmsMessageContainer requestedURIMessage) Sets the requested URI Message.voidsetRootSiteMessage(org.opencms.i18n.CmsMessageContainer rootSiteMessage) Sets the rootSiteMessage.voidsetUserMessage(org.opencms.i18n.CmsMessageContainer userMessage) Sets the userMessage.
-
Constructor Details
-
CmsContextInfoDetailsFormatter
public CmsContextInfoDetailsFormatter()Default constructor.
-
-
Method Details
-
format
Description copied from interface:I_CmsListFormatterReturns a formatted string for the specified data.Take care of
nulldata.- Specified by:
formatin interfaceI_CmsListFormatter- Parameters:
data- the data to formatlocale- the locale for formatting- Returns:
- formatted data
- See Also:
-
setEncodingMessage
Sets the encoding Message.- Parameters:
encodingMessage- the encoding Message to set
-
setLocaleMessage
Sets the locale Message.- Parameters:
localeMessage- the locale Message to set
-
setProjectMessage
Sets the project Message.- Parameters:
projectMessage- the project Message to set
-
setRemoteAddrMessage
Sets the remote Address Message.- Parameters:
remoteAddrMessage- the remote Address Message to set
-
setRequestedURIMessage
Sets the requested URI Message.- Parameters:
requestedURIMessage- the requested URI Message to set
-
setRootSiteMessage
Sets the rootSiteMessage.- Parameters:
rootSiteMessage- the rootSiteMessage to set
-
setUserMessage
Sets the userMessage.- Parameters:
userMessage- the userMessage to set
-