Class CollectionToArray

    • Field Detail

      • m_ArrayClass

        protected BaseClassname m_ArrayClass
        the class for the array.
    • Constructor Detail

      • CollectionToArray

        public CollectionToArray()
    • Method Detail

      • setArrayClass

        public void setArrayClass​(BaseClassname value)
        Sets the class for the array.
        Parameters:
        value - the classname, use empty string to use class of first element
      • getArrayClass

        public BaseClassname getArrayClass()
        Returns the class for the array.
        Returns:
        the classname, empty string if class of first element is used
      • arrayClassTipText

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

        public Class[] accepts()
        Returns the class that the consumer accepts.
        Specified by:
        accepts in interface InputConsumer
        Returns:
        java.util.Collection.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