Interface DataFeedFileSubmitter
- All Superinterfaces:
- org.springframework.core.Ordered
- All Known Implementing Classes:
- AbstractSFTPSubmitter,- CommerceManagerFeedAPISubmitter,- MerchantCenterSFTPSubmitter
public interface DataFeedFileSubmitter
extends org.springframework.core.Ordered
By default, 
AbstractFileFeedPublisher implementations will inject and delegate to
 components of this type.
 
 Capable of taking a source data file (ex: AbstractFileFeedPublisher.FilePublishContext.getLocalOutputFile()) and
 submitting it to a destination.
- 
Field SummaryFields inherited from interface org.springframework.core.OrderedHIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
- 
Method SummaryModifier and TypeMethodDescriptionbooleancanHandle(DataFeedPublishRequestDetails requestDetails) Reports whether this component can handle processing a file submission for the givenDataFeedPublishRequestDetails.default intgetOrder()submit(AbstractFileFeedPublisher.FilePublishContext filePublishContext) SubmitsAbstractFileFeedPublisher.FilePublishContext.getLocalOutputFile()to the appropriate destination.
- 
Method Details- 
canHandleReports whether this component can handle processing a file submission for the givenDataFeedPublishRequestDetails.- Parameters:
- requestDetails- request details around the publish process
- Returns:
- true if this component can handle the submission for the given file, false otherwise
 
- 
submitDataFeedFileSubmitResponseDetails submit(AbstractFileFeedPublisher.FilePublishContext filePublishContext) SubmitsAbstractFileFeedPublisher.FilePublishContext.getLocalOutputFile()to the appropriate destination.- Parameters:
- filePublishContext- details around the file publish process
- Returns:
- details about the success/failure of the operation
 
- 
getOrderdefault int getOrder()- Specified by:
- getOrderin interface- org.springframework.core.Ordered
 
 
-