Class MultiUpload

  • All Implemented Interfaces:
    adams.core.AdditionalInformationHandler, adams.core.CleanUpHandler, adams.core.Destroyable, adams.core.ErrorProvider, adams.core.GlobalInfoSupporter, adams.core.logging.LoggingLevelHandler, adams.core.logging.LoggingSupporter, adams.core.option.OptionHandler, adams.core.QuickInfoSupporter, adams.core.SizeOfHandler, adams.flow.webservice.AlternativeUrlSupporter, adams.flow.webservice.WebServiceClient, adams.flow.webservice.WebServiceClientConsumer<MultiSpectrum>, adams.flow.webservice.WsdlUrlProvider, Serializable

    public class MultiUpload
    extends adams.flow.webservice.AbstractWebServiceClientSink<MultiSpectrum>
    Uploads a MultiSpectrum.
    Version:
    $Revision: 2088 $
    Author:
    FracPete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected MultiSpectrum m_SpectrumIn
      input spectrum
      • Fields inherited from class adams.flow.webservice.AbstractWebServiceClientSink

        m_AlternativeURL, m_ConnectionTimeout, m_LastError, m_OutInterceptor, m_Owner, m_ReceiveTimeout, m_UseAlternativeURL
      • Fields inherited from class adams.core.option.AbstractOptionHandler

        m_OptionManager
      • Fields inherited from class adams.core.logging.LoggingObject

        m_Logger, m_LoggingIsEnabled, m_LoggingLevel
    • Constructor Summary

      Constructors 
      Constructor Description
      MultiUpload()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Class[] accepts()
      Returns the classes that are accepted input.
      protected void doQuery()
      Performs the actual webservice query.
      URL getWsdlLocation()
      Returns the WSDL location.
      String globalInfo()
      Returns a string describing the object.
      void setRequestData​(MultiSpectrum value)
      Sets the data for the request, if any.
      • Methods inherited from class adams.flow.webservice.AbstractWebServiceClientSink

        alternativeURLTipText, cleanUp, connectionTimeoutTipText, defineOptions, getAdditionalInformation, getAlternativeURL, getConnectionTimeout, getDefaultAlternativeURL, getDefaultOutInterceptor, getLastError, getOutInterceptor, getOwner, getQuickInfo, getReceiveTimeout, getUseAlternativeURL, hasLastError, outInterceptorTipText, postQuery, preQuery, query, receiveTimeoutTipText, setAlternativeURL, setConnectionTimeout, setOutInterceptor, setOwner, setReceiveTimeout, setUseAlternativeURL, useAlternativeURLTipText
      • Methods inherited from class adams.core.option.AbstractOptionHandler

        cleanUpOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, initialize, loggingLevelTipText, newOptionManager, reset, setLoggingLevel, toCommandLine, toString
      • Methods inherited from class adams.core.logging.LoggingObject

        configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
      • Methods inherited from interface adams.core.Destroyable

        destroy
      • Methods inherited from interface adams.core.logging.LoggingLevelHandler

        getLoggingLevel
      • Methods inherited from interface adams.core.option.OptionHandler

        cleanUpOptions, getOptionManager, toCommandLine
    • Field Detail

      • m_SpectrumIn

        protected MultiSpectrum m_SpectrumIn
        input spectrum
    • Constructor Detail

      • MultiUpload

        public MultiUpload()
    • Method Detail

      • globalInfo

        public String globalInfo()
        Returns a string describing the object.
        Specified by:
        globalInfo in interface adams.core.GlobalInfoSupporter
        Specified by:
        globalInfo in class adams.core.option.AbstractOptionHandler
        Returns:
        a description suitable for displaying in the gui
      • accepts

        public Class[] accepts()
        Returns the classes that are accepted input.
        Returns:
        the classes that are accepted
      • getWsdlLocation

        public URL getWsdlLocation()
        Returns the WSDL location.
        Specified by:
        getWsdlLocation in interface adams.flow.webservice.WsdlUrlProvider
        Specified by:
        getWsdlLocation in class adams.flow.webservice.AbstractWebServiceClientSink<MultiSpectrum>
        Returns:
        the location
      • setRequestData

        public void setRequestData​(MultiSpectrum value)
        Sets the data for the request, if any.
        Parameters:
        value - the request data
      • doQuery

        protected void doQuery()
                        throws Exception
        Performs the actual webservice query.
        Specified by:
        doQuery in class adams.flow.webservice.AbstractWebServiceClientSink<MultiSpectrum>
        Throws:
        Exception - if accessing webservice fails for some reason