Interface Searchable


  • public interface Searchable
    Searchable represents a searchable element.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean matches​(String text)
      Returns true when text satisfies the match logic.
      org.uberfire.mvp.Command onFound()
      Returns the command that is triggered when the element is found.
    • Method Detail

      • matches

        boolean matches​(String text)
        Returns true when text satisfies 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 Command with the onFound logic.