Class Sleep

    • Field Detail

      • m_Interval

        protected int m_Interval
        the interval in milli-seconds.
    • Constructor Detail

      • Sleep

        public Sleep()
    • Method Detail

      • setInterval

        public void setInterval​(int value)
        Sets the interval in milli-seconds to wait.
        Parameters:
        value - the interval
      • getInterval

        public int getInterval()
        Returns the interval to wait in milli-seconds.
        Returns:
        the interval
      • intervalTipText

        public String intervalTipText()
        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:
        adams.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