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 Details

    • TestLogHandlerSetupTask

      public TestLogHandlerSetupTask()
  • Method Details

    • setup

      public void setup(org.jboss.as.arquillian.container.ManagementClient managementClient, String containerId) throws Exception
      Specified by:
      setup in interface org.jboss.as.arquillian.api.ServerSetupTask
      Throws:
      Exception
    • tearDown

      public void tearDown(org.jboss.as.arquillian.container.ManagementClient managementClient, String containerId) throws Exception
      Specified by:
      tearDown in interface org.jboss.as.arquillian.api.ServerSetupTask
      Throws:
      Exception
    • getCategories

      public abstract Collection<String> getCategories()
    • getLevel

      public abstract String getLevel()
    • getHandlerName

      public abstract String getHandlerName()
    • getLogFileName

      public abstract String getLogFileName()
    • applyUpdate

      protected void applyUpdate(org.jboss.as.controller.client.ModelControllerClient client, org.jboss.dmr.ModelNode update, boolean allowFailure) throws IOException
      Throws:
      IOException