Interface LoopConfig

    • Field Detail

      • LOOP_CONDITIONS

        static final int LOOP_CONDITIONS
        While conditions are true
        See Also:
        Constant Field Values
      • LOOP_CONNECTOR_FC

        static final int LOOP_CONNECTOR_FC
        For each Entry returned by connector or FC
        See Also:
        Constant Field Values
      • LOOP_COLLECTION

        static final int LOOP_COLLECTION
        For each value of an Attribute in the work Entry
        See Also:
        Constant Field Values
      • OPTION_NONE

        static final int OPTION_NONE
        Initialize once in the AssemblyLine
        See Also:
        Constant Field Values
      • OPTION_INITIALIZE

        static final int OPTION_INITIALIZE
        Initialize the Connector every time the Loop is entered
        See Also:
        Constant Field Values
      • OPTION_SELECT

        static final int OPTION_SELECT
        Initialize the connector and select every time the Loop is entered.
        See Also:
        Constant Field Values
    • Method Detail

      • getLoopConnector

        ConnectorConfig getLoopConnector()
                                  throws java.lang.Exception
        Returns the Loop connector configuration
        Throws:
        java.lang.Exception
      • getLoopType

        int getLoopType()
        Returns the type of loop we are doing. The Loop type will be one of LOOP_CONDITIONS, LOOP_CONNECTOR_FC or LOOP_COLLECTION.
      • setLoopType

        void setLoopType​(int type)
        Sets the loop type. One of LOOP_CONDITIONS, LOOP_CONNECTOR_FC or LOOP_COLLECTION.
      • getInitConnectorOption

        int getInitConnectorOption()
        Returns the initialization option. Only interesting for a Connector Loop. One of OPTION_NONE, OPTION_INITIALIZE, OPTION_SELECT
      • setInitConnectorOption

        void setInitConnectorOption​(int option)
        Sets the initialization option. One of OPTION_NONE, OPTION_INITIALIZE, OPTION_SELECT
      • getWorkAttributeName

        java.lang.String getWorkAttributeName()
        Returns the name of the work attribute whose values to loop over Only interesting for type LOOP_COLLECTION.
      • setWorkAttributeName

        void setWorkAttributeName​(java.lang.String name)
        Sets the name of the work attribute whose values to loop over
      • getLoopAttributeName

        java.lang.String getLoopAttributeName()
        Returns the name of the loop attribute that gets one value from the work attribute for each loop. Only interesting for type LOOP_COLLECTION.
      • setLoopAttributeName

        void setLoopAttributeName​(java.lang.String name)
        Sets the name of the loop attribute that gets one value from the work attribute for each loop