public final class WakeupOnBehaviorPost extends WakeupCriterion
| Constructor and Description | 
|---|
WakeupOnBehaviorPost(Behavior behavior,
                    int postId)
Constructs a new WakeupOnBehaviorPost criterion. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Behavior | 
getBehavior()
Returns the behavior specified in this object's constructor. 
 | 
int | 
getPostId()
Retrieve the WakeupCriterion's specified postId 
 | 
Behavior | 
getTriggeringBehavior()
Returns the behavior that triggered this wakeup. 
 | 
int | 
getTriggeringPostId()
Returns the postId that caused the behavior to wakeup. 
 | 
hasTriggeredallElements, triggeredElementspublic WakeupOnBehaviorPost(Behavior behavior, int postId)
behavior - the behavior that must be the source of the post,
 if behavior == null, then any behavior posting the postId will cause
 the wakeup.postId - the postId that will trigger a wakeup if posted by the
 specified behavior, if postId == 0, then any post by the specified
 behavior will cause the wakeup.public int getPostId()
public Behavior getBehavior()
public int getTriggeringPostId()
public Behavior getTriggeringBehavior()
Copyright © 2016–2022 SciJava. All rights reserved.