Interface Searchable
-
public interface SearchableSearchablerepresents a searchable element.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanmatches(String text)Returns true whentextsatisfies the match logic.org.uberfire.mvp.CommandonFound()Returns the command that is triggered when the element is found.
-
-
-
Method Detail
-
matches
boolean matches(String text)
Returns true whentextsatisfies the match logic.- Parameters:
text- represent the text used by the search mechanism.- Returns:
- true if the text satisfies the match logic.
-
onFound
org.uberfire.mvp.Command onFound()
Returns the command that is triggered when the element is found.- Returns:
- the
Commandwith theonFoundlogic.
-
-