Class AbstractGroupExtractor

    • Constructor Detail

      • AbstractGroupExtractor

        public AbstractGroupExtractor()
    • Method Detail

      • getQuickInfo

        public String getQuickInfo()
        Returns a quick info about the object, which can be displayed in the GUI.
        Default implementation returns null.
        Specified by:
        getQuickInfo in interface QuickInfoSupporter
        Returns:
        null if no info available, otherwise short string
      • check

        protected String check​(Object obj)
        Performs checks on the object.
        Parameters:
        obj - the object to check
        Returns:
        null if successful, otherwise error message
      • doExtractGroup

        protected abstract String doExtractGroup​(Object obj)
        Extracts the group from the object.
        Parameters:
        obj - the object to process
        Returns:
        the extracted group, null if failed to extract or not handled
      • extractGroup

        public String extractGroup​(Object obj)
        Extracts the group from the object.
        Specified by:
        extractGroup in interface GroupExtractor
        Parameters:
        obj - the object to process
        Returns:
        the extracted group, null if failed to extract or not handled