public abstract static class DynamicSentinelStrategy.SingleStringUpdated extends java.lang.Object implements DynamicSentinelStrategy.IsUpdatedStrategy
Constructor and Description |
---|
SingleStringUpdated(Finder uniqueStringFinder) |
Modifier and Type | Method and Description |
---|---|
protected abstract java.lang.String |
getUniqueString(UiElement uniqueStringElement) |
boolean |
isSentinelUpdated(UiElement newSentinel,
UiElement oldSentinel)
Returns whether
newSentinel is updated from oldSentinel . |
java.lang.String |
toString() |
public SingleStringUpdated(Finder uniqueStringFinder)
uniqueStringFinder
- a Finder relative to the sentinel that finds
its descendant or self which contains a unique String.protected abstract java.lang.String getUniqueString(UiElement uniqueStringElement)
uniqueStringElement
- the descendant or self that contains the
unique Stringpublic boolean isSentinelUpdated(UiElement newSentinel, UiElement oldSentinel)
DynamicSentinelStrategy.IsUpdatedStrategy
newSentinel
is updated from oldSentinel
.isSentinelUpdated
in interface DynamicSentinelStrategy.IsUpdatedStrategy
public java.lang.String toString()
DynamicSentinelStrategy.IsUpdatedStrategy
It is recommended that this method return a description to help debugging.
toString
in interface DynamicSentinelStrategy.IsUpdatedStrategy
toString
in class java.lang.Object