Class JavamailInputWorker

    • Constructor Detail

      • JavamailInputWorker

        public JavamailInputWorker()
    • Method Detail

      • work

        protected void work()
                     throws Throwable
        Description copied from class: NodeWorker
        Implement this method to let the node perform some useful work.

        Implementors are free to throw whatever exception they see fit. If any Throwable is thrown from this method, the failure manager is notified about the fatal failure of the whole pipeline.

        Specified by:
        work in class NodeWorker<JavamailInputNode>
        Throws:
        Throwable - in case of processing failure
      • isPathSelected

        protected static boolean isPathSelected​(String id,
                                                String selector,
                                                boolean acceptParentPath)
        Select paths of type i1/i2/i3/... with components iN denoting hierarchical part indexes using selectors containing shell-style wildcard expressions.
        Parameters:
        id - path which will be checked
        selector - the path expression to check for
        acceptParentPath - true to match may path starting with the provided selector
        Returns:
        true if selector equals id