Class ArrayToVariables

    • Field Detail

      • m_VariableNames

        protected VariableName[] m_VariableNames
        the names of the variables to map to.
      • m_Conversion

        protected Conversion m_Conversion
        the type of conversion.
    • Constructor Detail

      • ArrayToVariables

        public ArrayToVariables()
        Default constructor.
      • ArrayToVariables

        public ArrayToVariables​(VariableName[] variableNames)
        Initializes with the specified names.
        Parameters:
        variableNames - the names to use
      • ArrayToVariables

        public ArrayToVariables​(String[] variableNames)
        Initializes with the specified names.
        Parameters:
        variableNames - the names to use
    • Method Detail

      • addVariableName

        public void addVariableName​(VariableName value)
        Adds the variable.
        Parameters:
        value - the names
      • setVariableNames

        public void setVariableNames​(String[] value)
        Sets the names of the variables.
        Parameters:
        value - the names
      • setVariableNames

        public void setVariableNames​(VariableName[] value)
        Sets the names of the variables.
        Parameters:
        value - the names
      • getVariableNames

        public VariableName[] getVariableNames()
        Returns the names of the variables.
        Returns:
        the names
      • variableNamesTipText

        public String variableNamesTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setConversion

        public void setConversion​(Conversion value)
        Sets the type of conversion to perform.
        Parameters:
        value - the type of conversion
      • getConversion

        public Conversion getConversion()
        Returns the type of conversion to perform.
        Returns:
        the type of conversion
      • conversionTipText

        public String conversionTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • isUsingVariables

        public boolean isUsingVariables()
        Returns whether variables are being used.
        Specified by:
        isUsingVariables in interface VariableUser
        Returns:
        true if variables are used
      • accepts

        public Class[] accepts()
        Returns the class that the consumer accepts.
        Specified by:
        accepts in interface InputConsumer
        Returns:
        [Ladams.flow.core.Unknown;.class
      • generates

        public Class[] generates()
        Returns the class of objects that it generates.
        Specified by:
        generates in interface OutputProducer
        Returns:
        adams.flow.core.Unknown.class
      • doExecute

        protected String doExecute()
        Executes the flow item.
        Specified by:
        doExecute in class AbstractActor
        Returns:
        null if everything is fine, otherwise error message