Class DoWhile
java.lang.Object
com.adaptris.core.ServiceImp
com.adaptris.core.services.conditional.While
com.adaptris.core.services.conditional.DoWhile
- All Implemented Interfaces:
AdaptrisComponent
,ComponentLifecycle
,ComponentLifecycleExtension
,ConfigComment
,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:
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.
-
Field Summary
Fields inherited from class com.adaptris.core.ServiceImp
log
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
doService
(AdaptrisMessage msg) Apply the service to the message.Methods inherited from class com.adaptris.core.services.conditional.While
closeService, continueLooping, getCondition, getMaxLoops, getOnMaxLoops, getThen, initService, onMaxLoops, prepare, setCondition, setMaxLoops, setOnMaxLoops, setThen, start, stop, withCondition, withMaxLoops, withOnMaxLoops, withThen
Methods inherited from class com.adaptris.core.ServiceImp
changeState, close, continueOnFailure, createName, createQualifier, getComments, getContinueOnFail, getIsTrackingEndpoint, getUniqueId, init, isBranching, isTrackingEndpoint, requestClose, requestInit, requestStart, requestStop, retrieveComponentState, setComments, setContinueOnFail, setIsTrackingEndpoint, setUniqueId
-
Constructor Details
-
DoWhile
public DoWhile()
-
-
Method Details