Class LoopConfigImpl

    • Constructor Detail

      • LoopConfigImpl

        public LoopConfigImpl()
        Constructor for the loopConnectorImpl object
      • LoopConfigImpl

        public LoopConfigImpl​(java.lang.Object data)
        Constructor for the loopConnectorImpl object
        Parameters:
        data - TreeMap with config data
    • Method Detail

      • getLoopConnector

        public ConnectorConfig getLoopConnector()
                                         throws java.lang.Exception
        Returns the Loop connector configuration
        Specified by:
        getLoopConnector in interface LoopConfig
        Throws:
        java.lang.Exception
      • getLoopType

        public int getLoopType()
        Returns the type of loop we are doing
        Specified by:
        getLoopType in interface LoopConfig
      • setLoopType

        public void setLoopType​(int type)
        Sets the loop type
        Specified by:
        setLoopType in interface LoopConfig
      • getInitConnectorOption

        public int getInitConnectorOption()
        Returns the type of loop we are doing
        Specified by:
        getInitConnectorOption in interface LoopConfig
      • getWorkAttributeName

        public java.lang.String getWorkAttributeName()
        Returns the name of the work attribute whose values to loop over
        Specified by:
        getWorkAttributeName in interface LoopConfig
      • setWorkAttributeName

        public void setWorkAttributeName​(java.lang.String name)
        Sets the name of the work attribute whose values to loop over
        Specified by:
        setWorkAttributeName in interface LoopConfig
      • getLoopAttributeName

        public java.lang.String getLoopAttributeName()
        Returns the name of the loop attribute that has one value from the work attribute for each loop
        Specified by:
        getLoopAttributeName in interface LoopConfig
      • setLoopAttributeName

        public void setLoopAttributeName​(java.lang.String name)
        Sets the name of the work attribute whose values to loop over
        Specified by:
        setLoopAttributeName in interface LoopConfig
      • notifyChange

        public void notifyChange​(java.lang.Object source,
                                 java.lang.Object key,
                                 int operation,
                                 java.lang.Object userObject)
        Description copied from class: BaseConfigurationImpl
        Notifies listeners for a change event.

        Note: This method is typically called by setParameter method but not from user code.

        Specified by:
        notifyChange in interface BaseConfiguration
        Overrides:
        notifyChange in class BaseConfigurationImpl
        Parameters:
        source - The caller initiating the change event
        key - The key that changed
        operation - The operation performed on key
        userObject - Arbitrary object provided by caller
      • getClone

        public java.lang.Object getClone()
                                  throws java.lang.Exception
        Return self clone
        Specified by:
        getClone in interface BaseConfiguration
        Overrides:
        getClone in class BranchingConfigImpl
        Returns:
        A cloned object of this
        Throws:
        java.lang.Exception
      • flatten

        public boolean flatten​(java.util.List<java.lang.String> excludedNS)
                        throws java.lang.Exception
        flatten - combines all values from this object and its inherited objects into one single config object. After flattening, the object is a complete object with no inherited values except those from the excludedNS list.
        Specified by:
        flatten in interface BaseConfiguration
        Overrides:
        flatten in class BaseConfigurationImpl
        Parameters:
        excludedNS - List of namespaces to exclude from flattening
        Returns:
        true if object attempted flattening, FALSE is this object inherits from an excluded namespace or has no inheritance
        Throws:
        java.lang.Exception
      • getReferences

        public java.util.List<java.lang.String> getReferences​(java.util.List<java.lang.String> list)
        Description copied from class: BaseConfigurationImpl
        Specified by:
        getReferences in interface BaseConfiguration
        Overrides:
        getReferences in class BaseConfigurationImpl
        Parameters:
        list - If non-null, the object must use the provided list rather than creating its own
        Returns:
        a list of all references to other object from which this object or its children inherit from.
      • search

        public java.util.List<javax.naming.Binding> search​(java.lang.String text,
                                                           int options,
                                                           int sizelimit,
                                                           java.util.List<javax.naming.Binding> results)
        Description copied from class: BaseConfigurationImpl
        Searches a configuration object and optionally its children for a specific key or value.
        Specified by:
        search in interface BaseConfiguration
        Overrides:
        search in class BaseConfigurationImpl
        Parameters:
        text - The search text
        options - Search options (oneLevel=1, exactCase=2, regExp=4, paramName=8)
        sizelimit - Max number of hits returned
        results - A list of results.
        Returns:
        the results from the performed search added into the provided results parameter.