Class DataHubTransferLog


  • public class DataHubTransferLog
    extends java.lang.Object
    This class handles the log for transfer of configuration models to the data hub.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addLog​(java.lang.String logMessage)
      Adds a message line to the log.
      java.lang.String getItemCode()
      Returns the item code as string.
      java.util.Collection<java.lang.String> getLog()
      Returns the log.
      DataHubTransferException getTransferException()
      Returns the exception which has occurred during invoking the transfer.
      void setItemCode​(java.lang.String itemCode)
      Sets the item code as string.
      void setTransferException​(DataHubTransferException transferException)
      Sets the exception which can occur during invoking the transfer.
      void setTransferFailed​(java.lang.Boolean transferFailed)
      Sets the transfer failed flag.
      boolean transferFailed()
      Returns an indicator whether the transfer has failed.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DataHubTransferLog

        public DataHubTransferLog()
    • Method Detail

      • addLog

        public void addLog​(java.lang.String logMessage)
        Adds a message line to the log.
        Parameters:
        logMessage - log message
      • setTransferFailed

        public void setTransferFailed​(java.lang.Boolean transferFailed)
        Sets the transfer failed flag.
        Parameters:
        transferFailed - the transferFailed to set
      • transferFailed

        public boolean transferFailed()
        Returns an indicator whether the transfer has failed.
        Returns:
        true if the transfer has failed
      • setItemCode

        public void setItemCode​(java.lang.String itemCode)
        Sets the item code as string.
        Parameters:
        itemCode - item code as string
      • getItemCode

        public java.lang.String getItemCode()
        Returns the item code as string.
        Returns:
        item code as string
      • getLog

        public java.util.Collection<java.lang.String> getLog()
        Returns the log.
        Returns:
        message log