Package org.jboss.resteasy.setup
Class LoggingSetupTask
- java.lang.Object
-
- org.jboss.resteasy.setup.SnapshotServerSetupTask
-
- org.jboss.resteasy.setup.LoggingSetupTask
-
- All Implemented Interfaces:
org.jboss.as.arquillian.api.ServerSetupTask
public class LoggingSetupTask extends SnapshotServerSetupTask implements org.jboss.as.arquillian.api.ServerSetupTask
A setup task for configuring loggers for tests.- Author:
- James R. Perkins
-
-
Constructor Summary
Constructors Constructor Description LoggingSetupTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doSetup(org.jboss.as.arquillian.container.ManagementClient client, String containerId)
protected String
getConsoleHandlerName()
Determines the name of the console handler.protected Map<String,Set<String>>
getLogLevels()
A map where the key is the log level and the value is a collection of logger names.-
Methods inherited from class org.jboss.resteasy.setup.SnapshotServerSetupTask
nonManagementCleanUp, setup, tearDown
-
-
-
-
Method Detail
-
doSetup
protected void doSetup(org.jboss.as.arquillian.container.ManagementClient client, String containerId) throws Exception
- Overrides:
doSetup
in classSnapshotServerSetupTask
- Throws:
Exception
-
getConsoleHandlerName
protected String getConsoleHandlerName()
Determines the name of the console handler. Ifnull
is returned the console handler will not be changed.- Returns:
- the console handler name or
null
to configure nothing
-
-