Class ServiceList

    • Constructor Detail

      • ServiceList

        public ServiceList()
      • ServiceList

        public ServiceList​(java.util.Collection<Service> serviceList)
      • ServiceList

        public ServiceList​(Service... serviceList)
    • Method Detail

      • getAllowForwardSearch

        public java.lang.Boolean getAllowForwardSearch()
        Returns:
        whether or not forward-search is allowed.
      • setAllowForwardSearch

        public void setAllowForwardSearch​(java.lang.Boolean b)
        Allow services to specify the next service in a forward search mode only.

        If set to true, then the service-list will act like a limited BranchingServiceCollection. It will check AdaptrisMessage.getNextServiceId(), and search the remaining services for that service-id. If found it will execute that service (after clearing the next service id). Searches are forward only so you cannot jump backwards through the service-list.

        Parameters:
        b - true to allow limited skipping of (forward only) services based on AdaptrisMessage.setNextServiceId(String); default is null(true).