public interface IDebugContainer
Modifier and Type | Field and Description |
---|---|
static String |
CATEGORY_COLLECTIONRENDERER |
static String |
CATEGORY_CONTROL |
static String |
CATEGORY_DEFAULT |
static String |
CATEGORY_LAYOUT_CONTROLLER |
static String |
CATEGORY_RESOURCE_RENDERER |
Modifier and Type | Method and Description |
---|---|
void |
addEntryToDebugList(String[] entries) |
void |
addEntryToDebugList(String[] entries,
String category) |
boolean |
isDebugEnabled()
returns a flag if the calling class should add anything to the debug list
of the implementing debug container.
|
static final String CATEGORY_CONTROL
static final String CATEGORY_DEFAULT
static final String CATEGORY_COLLECTIONRENDERER
static final String CATEGORY_RESOURCE_RENDERER
static final String CATEGORY_LAYOUT_CONTROLLER
boolean isDebugEnabled()
void addEntryToDebugList(String[] entries, String category)
entries
- the information that should be included in the debug listcategory
- the category where to put this information
Adds an entry to the list of debugging information that are created for each
http-request. The list is cleared after each http-request. The first String of the array
will be used as header to identify the entry in a user-output. A standard entry should look
like this:
entries[0] = "com.sapportals.wcm.MyClass"; entries[1] = "Resource = /etc/public/images"; entries[2] = "parameters:"; entries[3] = "key ShowFolders = true";The category can be used to group entries depending on the category they belong to.
void addEntryToDebugList(String[] entries)
entries
- the information that should be included in the debug list
This is the same method as addEntryToDebugList
, just without
the specification of a category. It is the implementing class' responsibility
to add these entries to either some kind of default category or make them
available in another wayAccess Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice