Class SignalHandler

  • All Implemented Interfaces:
    io.automatiko.engine.workflow.compiler.xml.Handler

    public class SignalHandler
    extends io.automatiko.engine.workflow.compiler.xml.BaseAbstractHandler
    implements io.automatiko.engine.workflow.compiler.xml.Handler
    This class isn't currently used because we don't really check thrown or caught event content (itemDefiniton references) to see if it matches the definition in the process.

    In fact, at this moment, the whole <signal> element is ignored because that (specifying event content) is it's only function.

    This handler is just here for two reasons:
    1. So we can process <signal> elements in process definitions
    2. When we do end up actively supporting event content, we'll need the functionality in this class
    • Field Summary

      • Fields inherited from class io.automatiko.engine.workflow.compiler.xml.BaseAbstractHandler

        allowNesting, validParents, validPeers
    • Constructor Summary

      Constructors 
      Constructor Description
      SignalHandler()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object end​(java.lang.String uri, java.lang.String localName, io.automatiko.engine.workflow.compiler.xml.ExtensibleXmlParser parser)  
      java.lang.Class<?> generateNodeFor()  
      java.lang.Object start​(java.lang.String uri, java.lang.String localName, org.xml.sax.Attributes attrs, io.automatiko.engine.workflow.compiler.xml.ExtensibleXmlParser parser)  
      • Methods inherited from class io.automatiko.engine.workflow.compiler.xml.BaseAbstractHandler

        allowNesting, emptyAttributeCheck, emptyContentCheck, getValidParents, getValidPeers
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface io.automatiko.engine.workflow.compiler.xml.Handler

        allowNesting, getValidParents, getValidPeers
    • Constructor Detail

      • SignalHandler

        public SignalHandler()
    • Method Detail

      • start

        public java.lang.Object start​(java.lang.String uri,
                                      java.lang.String localName,
                                      org.xml.sax.Attributes attrs,
                                      io.automatiko.engine.workflow.compiler.xml.ExtensibleXmlParser parser)
                               throws org.xml.sax.SAXException
        Specified by:
        start in interface io.automatiko.engine.workflow.compiler.xml.Handler
        Throws:
        org.xml.sax.SAXException
      • end

        public java.lang.Object end​(java.lang.String uri,
                                    java.lang.String localName,
                                    io.automatiko.engine.workflow.compiler.xml.ExtensibleXmlParser parser)
                             throws org.xml.sax.SAXException
        Specified by:
        end in interface io.automatiko.engine.workflow.compiler.xml.Handler
        Throws:
        org.xml.sax.SAXException
      • generateNodeFor

        public java.lang.Class<?> generateNodeFor()
        Specified by:
        generateNodeFor in interface io.automatiko.engine.workflow.compiler.xml.Handler