public class RunLaterTrigger
extends com.google.code.validationframework.base.trigger.AbstractTrigger
This can be useful when triggers are initially trigger outside the application thread, but also to schedule the trigger later.
| Constructor and Description |
|---|
RunLaterTrigger(com.google.code.validationframework.api.trigger.Trigger wrappedTrigger)
Constructor specifying the wrapped trigger to be rescheduled.
|
RunLaterTrigger(com.google.code.validationframework.api.trigger.Trigger wrappedTrigger,
boolean evenIfAlreadyInApplicationThread)
Constructor specifying the wrapped trigger and whether to re-schedule on the application thread even if the
wrapped trigger is already initiated on the application thread.
|
public RunLaterTrigger(com.google.code.validationframework.api.trigger.Trigger wrappedTrigger)
By default, the trigger will always be re-scheduled later on the application thread, even if it is already triggered on the application thread.
wrappedTrigger - Wrapped trigger to re-schedule later on the application thread.RunLaterTrigger(Trigger, boolean)public RunLaterTrigger(com.google.code.validationframework.api.trigger.Trigger wrappedTrigger,
boolean evenIfAlreadyInApplicationThread)
wrappedTrigger - Wrapped trigger to re-schedule later on the application thread.evenIfAlreadyInApplicationThread - Flag indicating whether to re-schedule even if the wrapped trigger is already initiated on
the application thread.Copyright © 2020. All rights reserved.