Class StatusPoller

java.lang.Object
org.apache.sling.testing.clients.util.poller.Polling
com.adobe.cq.testing.polling.StatusPoller
All Implemented Interfaces:
Callable<Boolean>

public class StatusPoller extends org.apache.sling.testing.clients.util.poller.Polling
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     

    Fields inherited from class org.apache.sling.testing.clients.util.poller.Polling

    c, exceptions, lastException, waited
  • Constructor Summary

    Constructors
    Constructor
    Description
    StatusPoller(String pagePath, org.apache.sling.testing.clients.SlingClient client, int expectedStatus)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from class org.apache.sling.testing.clients.util.poller.Polling

    getExceptions, getLastException, getWaited, message, poll

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • storedException

      public Exception storedException
  • Constructor Details

    • StatusPoller

      public StatusPoller(String pagePath, org.apache.sling.testing.clients.SlingClient client, int expectedStatus)
  • Method Details

    • call

      public Boolean call() throws org.apache.sling.testing.clients.ClientException
      Specified by:
      call in interface Callable<Boolean>
      Overrides:
      call in class org.apache.sling.testing.clients.util.poller.Polling
      Throws:
      org.apache.sling.testing.clients.ClientException