Package org.jboss.as.test.shared
Class TestLogHandlerSetupTask
java.lang.Object
org.jboss.as.test.shared.TestLogHandlerSetupTask
- All Implemented Interfaces:
org.jboss.as.arquillian.api.ServerSetupTask
public abstract class TestLogHandlerSetupTask
extends Object
implements org.jboss.as.arquillian.api.ServerSetupTask
Used to search for strings in logs, it adds a handler so the search is done on a small file
- Author:
- tmiyar
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyUpdate(org.jboss.as.controller.client.ModelControllerClient client, org.jboss.dmr.ModelNode update, boolean allowFailure) abstract Collection<String>abstract Stringabstract StringgetLevel()abstract StringvoidvoidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.as.arquillian.api.ServerSetupTask
executeOperation, executeOperation, executeOperation, executeOperation
-
Constructor Details
-
TestLogHandlerSetupTask
public TestLogHandlerSetupTask()
-
-
Method Details
-
setup
public void setup(org.jboss.as.arquillian.container.ManagementClient managementClient, String containerId) throws Exception - Specified by:
setupin interfaceorg.jboss.as.arquillian.api.ServerSetupTask- Throws:
Exception
-
tearDown
public void tearDown(org.jboss.as.arquillian.container.ManagementClient managementClient, String containerId) throws Exception - Specified by:
tearDownin interfaceorg.jboss.as.arquillian.api.ServerSetupTask- Throws:
Exception
-
getCategories
-
getLevel
-
getHandlerName
-
getLogFileName
-
applyUpdate
protected void applyUpdate(org.jboss.as.controller.client.ModelControllerClient client, org.jboss.dmr.ModelNode update, boolean allowFailure) throws IOException - Throws:
IOException
-