Class DataHubTransferLog
- java.lang.Object
-
- de.hybris.platform.sap.core.configuration.datahub.DataHubTransferLog
-
public class DataHubTransferLog extends java.lang.ObjectThis class handles the log for transfer of configuration models to the data hub.
-
-
Constructor Summary
Constructors Constructor Description DataHubTransferLog()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddLog(java.lang.String logMessage)Adds a message line to the log.java.lang.StringgetItemCode()Returns the item code as string.java.util.Collection<java.lang.String>getLog()Returns the log.DataHubTransferExceptiongetTransferException()Returns the exception which has occurred during invoking the transfer.voidsetItemCode(java.lang.String itemCode)Sets the item code as string.voidsetTransferException(DataHubTransferException transferException)Sets the exception which can occur during invoking the transfer.voidsetTransferFailed(java.lang.Boolean transferFailed)Sets the transfer failed flag.booleantransferFailed()Returns an indicator whether the transfer has failed.
-
-
-
Method Detail
-
addLog
public void addLog(java.lang.String logMessage)
Adds a message line to the log.- Parameters:
logMessage- log message
-
setTransferException
public void setTransferException(DataHubTransferException transferException)
Sets the exception which can occur during invoking the transfer.- Parameters:
transferException-DataHubTransferException
-
getTransferException
public DataHubTransferException getTransferException()
Returns the exception which has occurred during invoking the transfer.- Returns:
DataHubTransferException
-
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
-
-