Class AbstractFileFeedPublisher.FilePublishContext
java.lang.Object
com.broadleafcommerce.datafeed.service.publisher.file.AbstractFileFeedPublisher.FilePublishContext
- Enclosing class:
- AbstractFileFeedPublisher
A special payload to track details about a publish process as it moves through the different
steps in
AbstractFileFeedPublisher.process(DataFeedPublishRequestDetails).-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe local temporary file that will be prepared and uploaded to the destination.The originalDataFeedPublishRequestDetailspassed toAbstractFileFeedPublisher.process(DataFeedPublishRequestDetails)The number of entries that were successfully written togetLocalOutputFile().inthashCode()voidsetLocalOutputFile(Path localOutputFile) The local temporary file that will be prepared and uploaded to the destination.voidsetPublishRequest(DataFeedPublishRequestDetails publishRequest) The originalDataFeedPublishRequestDetailspassed toAbstractFileFeedPublisher.process(DataFeedPublishRequestDetails)voidsetSuccessfulOutputElementCount(AtomicInteger successfulOutputElementCount) The number of entries that were successfully written togetLocalOutputFile().toString()
-
Constructor Details
-
FilePublishContext
public FilePublishContext()
-
-
Method Details
-
getPublishRequest
The originalDataFeedPublishRequestDetailspassed toAbstractFileFeedPublisher.process(DataFeedPublishRequestDetails) -
getLocalOutputFile
The local temporary file that will be prepared and uploaded to the destination. -
getSuccessfulOutputElementCount
The number of entries that were successfully written togetLocalOutputFile(). -
setPublishRequest
The originalDataFeedPublishRequestDetailspassed toAbstractFileFeedPublisher.process(DataFeedPublishRequestDetails) -
setLocalOutputFile
The local temporary file that will be prepared and uploaded to the destination. -
setSuccessfulOutputElementCount
The number of entries that were successfully written togetLocalOutputFile(). -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-