Class PayloadCommandParameter

    • Constructor Detail

      • PayloadCommandParameter

        public PayloadCommandParameter()
    • Method Detail

      • translate

        public void translate​(StringParameter source,
                              AdaptrisMessage target)
                       throws java.lang.Exception
        Description copied from interface: ServiceOutputParameter
        Export a parameter from String command result into the AdaptrisMessage object.
        Specified by:
        translate in interface ServiceOutputParameter
        Parameters:
        source - the String returned from the as400 command
        target - the Destination AdaptrisMessage
        Throws:
        java.lang.Exception
      • translate

        public void translate​(AdaptrisMessage source,
                              StringParameter target)
                       throws java.lang.Exception
        Description copied from interface: ServiceInputParameter
        Export a parameter from AdaptrisMessage object into String command
        Specified by:
        translate in interface ServiceInputParameter
        Parameters:
        source - the String returned from the as400 command
        target - the Destination AdaptrisMessage
        Throws:
        java.lang.Exception