Class ScriptedClassifierUtils.ExpandPlaceholdersObserver

  • All Implemented Interfaces:
    adams.core.discovery.PropertyTraversal.Observer
    Enclosing class:
    ScriptedClassifierUtils

    public static class ScriptedClassifierUtils.ExpandPlaceholdersObserver
    extends Object
    implements adams.core.discovery.PropertyTraversal.Observer
    Expands placeholders when traversing properties.
    • Field Detail

      • m_Placeholders

        protected String[] m_Placeholders
      • m_Values

        protected String[] m_Values
    • Constructor Detail

      • ExpandPlaceholdersObserver

        public ExpandPlaceholdersObserver​(String[] placeholders,
                                          String[] values)
    • Method Detail

      • observe

        public boolean observe​(adams.core.discovery.PropertyPath.Path path,
                               PropertyDescriptor desc,
                               Object parent,
                               Object child)
        Presents the current path, descriptor and object to the observer.
        Specified by:
        observe in interface adams.core.discovery.PropertyTraversal.Observer
        Parameters:
        path - the path
        desc - the property descriptor
        parent - the parent object
        child - the child object
        Returns:
        true if to continue observing