Class RaiseError

    • Field Detail

      • m_ErrorMessage

        protected String m_ErrorMessage
        the error message to fail with.
    • Constructor Detail

      • RaiseError

        public RaiseError()
    • Method Detail

      • conditionTipText

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

        public void setErrorMessage​(String value)
        Sets the error message.
        Parameters:
        value - the message
      • getErrorMessage

        public String getErrorMessage()
        Returns the error message.
        Returns:
        the message
      • errorMessageTipText

        public String errorMessageTipText()
        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:
        the Class of the generated tokens
      • doExecute

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