Class CodeRoot.Connector<D extends CodeRootDelegate>

    • Method Detail

      • addDefaultControls

        protected void addDefaultControls()
        Description copied from class: CodeConnector
        Called during processing to create default controls. May be overridden to configure or extend. By default this method adds the info and code properties, and a hidden control used by logging support.
        Overrides:
        addDefaultControls in class CodeConnector<D extends CodeRootDelegate>
      • shouldAddPort

        public boolean shouldAddPort​(AnnotatedElement element)
        Description copied from class: CodeConnector
        Check whether a port should be added for provided element (field or method). By default returns true unless the element is marked ReadOnly, or with Config.Port and value false.
        Overrides:
        shouldAddPort in class CodeConnector<D extends CodeRootDelegate>
        Parameters:
        element - annotated element to analyse
        Returns:
        whether to add a port
      • analyseField

        protected void analyseField​(Field field)
        Description copied from class: CodeConnector
        Called during processing to analyse each discovered field. May be overridden to extend. The default behaviour will first pass to available plugins (see CodeConnector.Plugin), then check for property, trigger, in, aux-in, out, aux-out, inject, proxy and persist annotations, in that order. First valid match wins.
        Overrides:
        analyseField in class CodeConnector<D extends CodeRootDelegate>
        Parameters:
        field - discovered field