Class ProcessExportRequest
- java.lang.Object
 - 
- com.broadleafcommerce.common.dataexport.messaging.ProcessExportRequest
 
 
- 
- All Implemented Interfaces:
 com.broadleafcommerce.common.messaging.Securable,Serializable
public class ProcessExportRequest extends Object implements com.broadleafcommerce.common.messaging.Securable, Serializable
A message representing a request to perform (actually process) anExport.This message should always be consumed by the same microservice (though not necessarily the same node/instance of that microservice) that produces it. Exports can be computationally heavy tasks, and this allows each export to be processed by a different node than the one that originally created it. As a result, it avoids a situation where a single node is responsible for processing lots of exports.
- Author:
 - Samarth Dhruva (samarthd)
 - See Also:
 ProcessExportRequestProducer,ProcessExportRequestConsumer,Export, Serialized Form
 
- 
- 
Constructor Summary
Constructors Constructor Description ProcessExportRequest(String exportId) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetExportId()The ID of theExportthat needs to be processed.StringgetToken()inthashCode()voidsetToken(String token)StringtoString() 
 - 
 
- 
- 
Constructor Detail
- 
ProcessExportRequest
public ProcessExportRequest(String exportId)
 
 - 
 
- 
Method Detail
- 
getExportId
public String getExportId()
The ID of theExportthat needs to be processed.- See Also:
 Export.id
 
- 
getToken
public String getToken()
- Specified by:
 getTokenin interfacecom.broadleafcommerce.common.messaging.Securable
 
- 
canEqual
protected boolean canEqual(Object other)
 
- 
setToken
public void setToken(String token)
- Specified by:
 setTokenin interfacecom.broadleafcommerce.common.messaging.Securable
 
 - 
 
 -