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 Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Creates a new setup task which defines the provided properties.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setup(org.jboss.as.arquillian.container.ManagementClient managementClient, String containerId)
     
    void
    tearDown(org.jboss.as.arquillian.container.ManagementClient managementClient, String containerId)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.jboss.as.arquillian.api.ServerSetupTask

    executeOperation, executeOperation, executeOperation, executeOperation
  • 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