Interface PatternAccessor.PatternBuilder<B extends PatternAccessor.PatternBuilder<?>>

Type Parameters:
B - The builder which implements the PatternAccessor.PatternBuilder.
Enclosing interface:
PatternAccessor

public static interface PatternAccessor.PatternBuilder<B extends PatternAccessor.PatternBuilder<?>>
Provides a mutator for an pattern property.
  • Method Summary

    Modifier and Type Method Description
    B withPattern​(Pattern aPattern)
    Sets the pattern to use and returns this builder as of the builder pattern.
  • Method Details

    • withPattern

      B withPattern​(Pattern aPattern)
      Sets the pattern to use and returns this builder as of the builder pattern.
      Parameters:
      aPattern - The pattern to be stored by the pattern property.
      Returns:
      This PatternAccessor.PatternBuilder instance to continue configuration.