Package org.apache.tapestry5.plastic

# Interface WhileCallback

public interface WhileCallback
Callback used with `InstructionBuilder.doWhile(Condition, WhileCallback)`.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `buildBody(InstructionBuilder builder)`
  Provides the main code executed inside the loop.
  `void`
  `buildTest(InstructionBuilder builder)`
  Creates the code to be evaluated by the `Condition`; often this involves loading a value from a variable or argument, or `InstructionBuilder.dupe()`'ing the top value on the stack.

- ## Method Details

  - ### buildTest

    void buildTest(InstructionBuilder builder)
    Creates the code to be evaluated by the `Condition`; often this involves loading a value from a variable or argument, or `InstructionBuilder.dupe()`'ing the top value on the stack.

  - ### buildBody

    void buildBody(InstructionBuilder builder)
    Provides the main code executed inside the loop.