Class SequenceProperties.Builder

    • Constructor Detail

      • Builder

        public Builder​(String masterName)
        Create a new Builder.
        Parameters:
        masterName - the master name for SequenceProperties instances created using this Builder
    • Method Detail

      • initialPageNumber

        public SequenceProperties.Builder initialPageNumber​(int value)
        Set the initialPageNumber for the SequenceProperties instances created using this Builder.
        Parameters:
        value - the value
        Returns:
        returns the Builder
      • pageCounterName

        public SequenceProperties.Builder pageCounterName​(String value)
        Sets the page counter name for the sequence. When this value is set, pages in the sequence are counted separately (in other words, not using the default page counter). Instead, pages are counted together with other sequences having the same page counter name.
        Parameters:
        value - the identifier
        Returns:
        returns "this" object
      • build

        public SequenceProperties build()
        Build SequenceProperties using the current state of the Builder.
        Returns:
        returns a new SequenceProperties instance