Class MerchantCenterSFTPSubmitter
java.lang.Object
com.broadleafcommerce.datafeed.service.publisher.file.submitter.AbstractSFTPSubmitter
com.broadleafcommerce.datafeed.feedprovider.google.sftp.publisher.file.MerchantCenterSFTPSubmitter
- All Implemented Interfaces:
- DataFeedFileSubmitter,- org.springframework.core.Ordered
public class MerchantCenterSFTPSubmitter
extends AbstractSFTPSubmitter
implements DataFeedFileSubmitter
DataFeedFileSubmitter for SFTP uploads of Google Merchant center feed files.- 
Nested Class SummaryNested classes/interfaces inherited from class com.broadleafcommerce.datafeed.service.publisher.file.submitter.AbstractSFTPSubmitterAbstractSFTPSubmitter.SFTPUploadConfiguration
- 
Field SummaryFields inherited from interface org.springframework.core.OrderedHIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
- 
Constructor SummaryConstructorsConstructorDescriptionMerchantCenterSFTPSubmitter(com.broadleafcommerce.common.extension.TypeFactory typeFactory) 
- 
Method SummaryModifier and TypeMethodDescriptionbuildSftpConfiguration(AbstractFileFeedPublisher.FilePublishContext filePublishContext) Build a validAbstractSFTPSubmitter.SFTPUploadConfigurationfrom theAbstractFileFeedPublisher.FilePublishContext.booleancanHandle(DataFeedPublishRequestDetails requestDetails) Reports whether this component can handle processing a file submission for the givenDataFeedPublishRequestDetails.protected StringgetDestinationPathForUpload(MerchantCenterSFTPPublicationConfiguration publicationConfiguration) Methods inherited from class com.broadleafcommerce.datafeed.service.publisher.file.submitter.AbstractSFTPSubmitterbuildFailedResponse, buildSuccessfulResponse, getTypeFactory, initializeSSHClient, submitMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.broadleafcommerce.datafeed.service.publisher.file.submitter.DataFeedFileSubmittergetOrder, submit
- 
Constructor Details- 
MerchantCenterSFTPSubmitterpublic MerchantCenterSFTPSubmitter(com.broadleafcommerce.common.extension.TypeFactory typeFactory) 
 
- 
- 
Method Details- 
canHandleDescription copied from interface:DataFeedFileSubmitterReports whether this component can handle processing a file submission for the givenDataFeedPublishRequestDetails.- Specified by:
- canHandlein interface- DataFeedFileSubmitter
- Parameters:
- requestDetails- request details around the publish process
- Returns:
- true if this component can handle the submission for the given file, false otherwise
 
- 
getSupportedFeedProcessTypes
- 
buildSftpConfigurationprotected AbstractSFTPSubmitter.SFTPUploadConfiguration buildSftpConfiguration(AbstractFileFeedPublisher.FilePublishContext filePublishContext) Description copied from class:AbstractSFTPSubmitterBuild a validAbstractSFTPSubmitter.SFTPUploadConfigurationfrom theAbstractFileFeedPublisher.FilePublishContext.- Specified by:
- buildSftpConfigurationin class- AbstractSFTPSubmitter
- Parameters:
- filePublishContext- details around the file publish context
- Returns:
- a AbstractSFTPSubmitter.SFTPUploadConfigurationdescribing the SFTP upload that needs to be made
 
- 
getDestinationPathForUploadprotected String getDestinationPathForUpload(MerchantCenterSFTPPublicationConfiguration publicationConfiguration) 
 
-