Class MappingsFacade

java.lang.Object
org.apache.sling.launchpad.testservices.exported.MappingsFacade

public class MappingsFacade extends Object
Facade for saving mappings and waiting for the corresponding events
  • Field Details

  • Constructor Details

  • Method Details

    • saveMappings

      public String saveMappings(javax.jcr.Session session) throws Exception
      Save a Session that has mapping changes, and wait for the OSGi event that signals that mappings have been updated.
      Parameters:
      session - the JCR session
      Returns:
      error message, null if ok
      Throws:
      Exception - in case of any errors