# Uses of Enum
org.apache.tapestry5.plastic.Condition

Packages that use Condition
Package
Description
org.apache.tapestry5.internal.plastic
[INTERNAL USE ONLY] Plastic implementation details; API subject to change
org.apache.tapestry5.plastic
Plastic, Tapestry's component class transformation library based on ASM

- ## Uses of Condition in org.apache.tapestry5.internal.plastic

  Methods in org.apache.tapestry5.internal.plastic with parameters of type Condition
  Modifier and Type
  Method
  Description
  `InstructionBuilder`
  InstructionBuilderImpl.`doWhile(Condition condition, WhileCallback callback)`
  `InstructionBuilder`
  InstructionBuilderImpl.`when(Condition condition, InstructionBuilderCallback ifTrue)`
  `InstructionBuilder`
  InstructionBuilderImpl.`when(Condition condition, WhenCallback callback)`

- ## Uses of Condition in org.apache.tapestry5.plastic

  Methods in org.apache.tapestry5.plastic that return Condition
  Modifier and Type
  Method
  Description
  `static Condition`
  Condition.`valueOf(String name)`
  Returns the enum constant of this type with the specified name.
  `static Condition[]`
  Condition.`values()`
  Returns an array containing the constants of this enum type, in the order they are declared.
  Methods in org.apache.tapestry5.plastic with parameters of type Condition
  Modifier and Type
  Method
  Description
  `InstructionBuilder`
  InstructionBuilder.`doWhile(Condition condition, WhileCallback callback)`
  Implements a simple loop based on a condition.
  `InstructionBuilder`
  InstructionBuilder.`when(Condition condition, InstructionBuilderCallback ifTrue)`
  Simplified version of `InstructionBuilder.when(Condition, WhenCallback)` that simply executes the callback code when the condition is true and does nothing if the condition is false (the more general case).
  `InstructionBuilder`
  InstructionBuilder.`when(Condition condition, WhenCallback callback)`
  Executes conditional code based on a `Condition`.