Class GetLogsLevel
- java.lang.Object
 - 
- org.apache.avalon.framework.logger.AbstractLogEnabled
 - 
- org.apache.cocoon.acting.AbstractAction
 - 
- org.apache.cocoon.acting.ServiceableAction
 - 
- org.ametys.runtime.plugins.admin.logs.GetLogsLevel
 
 
 
 
 
- 
- All Implemented Interfaces:
 Component,LogEnabled,Serviceable,Action
public class GetLogsLevel extends ServiceableAction
Get the log levels' 
- 
- 
Field Summary
- 
Fields inherited from class org.apache.cocoon.acting.ServiceableAction
manager 
- 
Fields inherited from class org.apache.cocoon.acting.AbstractAction
EMPTY_MAP 
 - 
 
- 
Constructor Summary
Constructors Constructor Description GetLogsLevel() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private Map<String,Object>_getNode(List<Map<String,Object>> children, String categoryName)Mapact(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters)voidcreateCategory(List<Map<String,Object>> children, String categoryName, String level, String fullName)Creates a log category- 
Methods inherited from class org.apache.cocoon.acting.ServiceableAction
service 
- 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
GetLogsLevel
public GetLogsLevel()
 
 - 
 
- 
Method Detail
- 
act
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception
- Throws:
 Exception
 
- 
createCategory
public void createCategory(List<Map<String,Object>> children, String categoryName, String level, String fullName)
Creates a log category- Parameters:
 children- the list of categories already createdcategoryName- the name of the category to createlevel- the level of the category to createfullName- the full name of the category
 
 - 
 
 -