Interface BlockBuilder

    • Method Detail

      • startBlock

        void startBlock​(BlockProperties props)
        Start a new block with the supplied BlockProperties.
        Parameters:
        props - the BlockProperties of the new block
        Throws:
        IllegalStateException - if the current state does not allow this call to be made
      • startBlock

        void startBlock​(BlockProperties props,
                        String blockId)
        Start a new block with the supplied BlockProperties.
        Parameters:
        props - the block properties
        blockId - the block id
        Throws:
        IllegalStateException - if the current state does not allow this call to be made
      • endBlock

        void endBlock()
        End the current block.
        Throws:
        IllegalStateException - if the current state does not allow this call to be made