Class NotBuilder

All Implemented Interfaces:
IHeaderMatcher.Builder

public class NotBuilder extends ChildContainerBuilder
A builder for the NotMatcher.
  • Constructor Details

    • NotBuilder

      public NotBuilder()
  • Method Details

    • build

      public NotMatcher build()
      Description copied from interface: IHeaderMatcher.Builder
      Build the IHeaderMatcher.

      Implementations of this interface should return a specific child class of IHeaderMatcher.

      Returns:
      a new IHeaderMatcher.
    • toString

      public String toString()
      Overrides:
      toString in class ChildContainerBuilder
    • setEnclosed

      public NotBuilder setEnclosed(IHeaderMatcher.Builder enclosed)
      Sets the enclosed matcher. Prior to this call the builder is invalid and the build() will fail.
      Parameters:
      enclosed - The matcher to negate.
      Returns:
      this.