Class SystemPropertySetupTask

java.lang.Object
org.jboss.resteasy.setup.SystemPropertySetupTask
All Implemented Interfaces:
org.jboss.as.arquillian.api.ServerSetupTask
Direct Known Subclasses:
DisableDefaultExceptionMapperSetupTask

public abstract class SystemPropertySetupTask extends Object implements org.jboss.as.arquillian.api.ServerSetupTask
A setup task for Arquillian tests which set system properties in WildFly and remove them when the test is complete.
Author:
James R. Perkins
  • Constructor Details

    • SystemPropertySetupTask

      protected SystemPropertySetupTask(Map<String,String> properties)
      Creates a new setup task which defines the provided properties.
      Parameters:
      properties - the properties to add
  • 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