Class ActionStatusHandler.Builder

    • Nested Class Summary

      • Nested classes/interfaces inherited from interface io.hyperfoil.api.config.BuilderBase

        io.hyperfoil.api.config.BuilderBase.CopyUtil, io.hyperfoil.api.config.BuilderBase.IgnoreCopy, io.hyperfoil.api.config.BuilderBase.ThrowingSupplier<T extends java.lang.Object>
    • Constructor Summary

      Constructors 
      Constructor Description
      Builder()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ActionStatusHandler.Builder add​(java.lang.String range, java.util.List<io.hyperfoil.api.session.Action.Builder> actions)  
      ActionStatusHandler build()  
      ServiceLoadedBuilderProvider<io.hyperfoil.api.session.Action.Builder> withKey​(java.lang.String range)
      Perform a sequence of actions if the range matches.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface io.hyperfoil.api.config.BuilderBase

        copy, prepareBuild
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • withKey

        public ServiceLoadedBuilderProvider<io.hyperfoil.api.session.Action.Builder> withKey​(java.lang.String range)
        Perform a sequence of actions if the range matches. Use range as the key and action in the mapping. Possible values of the status should be separated by commas (,). Ranges can be set using low-high (inclusive) (e.g. 200-299), or replacing lower digits with 'x' (e.g. 2xx).
        Specified by:
        withKey in interface io.hyperfoil.api.config.PartialBuilder
        Parameters:
        range - Status range.
        Returns:
        Builder
      • add

        public ActionStatusHandler.Builder add​(java.lang.String range,
                                               java.util.List<io.hyperfoil.api.session.Action.Builder> actions)