Class DoWhile

  • All Implemented Interfaces:
    AdaptrisComponent, ComponentLifecycle, ComponentLifecycleExtension, MessageEventGenerator, Service, StateManagedComponent

    @ComponentProfile(summary="Runs the configured service/list repeatedly \'WHILE\' the configured condition is met.",
                      tag="service,conditional,loop",
                      since="3.8.4")
    public class DoWhile
    extends While
    Simulate a do-while loop.

    It differs from While in the same way that a do{ } while(condition); differs from while(condition) { }.

    See Also:
    While

    In the adapter configuration file this class is aliased as do-while which is the preferred alternative to the fully qualified classname when building your configuration.