Class DataFeedProcessExecution
- All Implemented Interfaces:
- com.broadleafcommerce.data.tracking.core.ContextStateAware,- Serializable
DataFeedProcess.
 Admin users should almost never be responsible for making direct CRUD requests on this entity. The system should be in charge of managing these records.
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleanbooleanShould be copied fromDataFeedProcess.getApplicationId().com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextStateA subset ofTrackinginformation to expose the context state for this object.TheDataFeedProcess.getId()of theDataFeedProcesswhich this execution is for.Should be copied fromDataFeedProcess.getDataFeedPublicationConfigurationIds().The time at which this execution stopped processing.If errors are encountered during the run of this execution (ex:isContainsErrors()is true), details should be added here.Should be copied fromDataFeedProcess.getFilterString().getId()The context ID of this execution.Should be copied fromDataFeedProcess.getProcessType().After the raw data is fetched, the execution will serialize and store it in a JSON file.The time at which this execution started processing.Should contain a value fromDefaultDataFeedExecutionStatusesdescribing the current status of the execution.inthashCode()booleanA simple flag indicating whether the current execution encountered any errors.voidsetApplicationId(String applicationId) Should be copied fromDataFeedProcess.getApplicationId().voidsetContainsErrors(boolean containsErrors) A simple flag indicating whether the current execution encountered any errors.voidsetContextState(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState) A subset ofTrackinginformation to expose the context state for this object.voidsetDataFeedProcessId(String dataFeedProcessId) TheDataFeedProcess.getId()of theDataFeedProcesswhich this execution is for.voidsetDataFeedPublicationConfigurationIds(List<String> dataFeedPublicationConfigurationIds) Should be copied fromDataFeedProcess.getDataFeedPublicationConfigurationIds().voidsetEndTime(Instant endTime) The time at which this execution stopped processing.voidsetErrorDetails(List<String> errorDetails) If errors are encountered during the run of this execution (ex:isContainsErrors()is true), details should be added here.voidsetFilterString(String filterString) Should be copied fromDataFeedProcess.getFilterString().voidThe context ID of this execution.voidsetProcessType(String processType) Should be copied fromDataFeedProcess.getProcessType().voidsetQueriedDataFileLocation(String queriedDataFileLocation) After the raw data is fetched, the execution will serialize and store it in a JSON file.voidsetStartTime(Instant startTime) The time at which this execution started processing.voidShould contain a value fromDefaultDataFeedExecutionStatusesdescribing the current status of the execution.toString()
- 
Constructor Details- 
DataFeedProcessExecutionpublic DataFeedProcessExecution()
 
- 
- 
Method Details- 
getIdThe context ID of this execution.- Returns:
- the id of this data feed execution
 
- 
getDataFeedProcessIdTheDataFeedProcess.getId()of theDataFeedProcesswhich this execution is for.- Returns:
- the ID of the data feed process this execution is for
 
- 
getStartTimeThe time at which this execution started processing.- Returns:
- the time at which this execution started processing
 
- 
getEndTimeThe time at which this execution stopped processing.- Returns:
- the time at which this execution stopped processing
 
- 
getStatusShould contain a value fromDefaultDataFeedExecutionStatusesdescribing the current status of the execution.When this is being changed, be sure to update getStartTime()orgetEndTime()if appropriate.- Returns:
- the current status of the execution
 
- 
isContainsErrorspublic boolean isContainsErrors()A simple flag indicating whether the current execution encountered any errors.- Returns:
- whether this execution experienced errors
- See Also:
 
- 
getErrorDetailsIf errors are encountered during the run of this execution (ex:isContainsErrors()is true), details should be added here. Otherwise, this will be empty.- Returns:
- details about any errors experienced by this execution
- See Also:
 
- 
getQueriedDataFileLocationAfter the raw data is fetched, the execution will serialize and store it in a JSON file. This can then be used byDataFeedPublicationexecutions to transform + publish data.This field should contain the location of that file (including filename extension). This is usually something that can be directly passed to StorageService.
- 
getProcessTypeShould be copied fromDataFeedProcess.getProcessType().This duplication protects the execution in case DataFeedProcessis mutated after this starts.- Returns:
- value matching DataFeedProcess.getProcessType()
 
- 
getDataFeedPublicationConfigurationIdsShould be copied fromDataFeedProcess.getDataFeedPublicationConfigurationIds().This duplication protects the execution in case DataFeedProcessis mutated after this starts.- Returns:
- value matching DataFeedProcess.getDataFeedPublicationConfigurationIds()
 
- 
getApplicationIdShould be copied fromDataFeedProcess.getApplicationId().This duplication protects the execution in case DataFeedProcessis mutated after this starts.- Returns:
- value matching DataFeedProcess.getApplicationId()
 
- 
getFilterStringShould be copied fromDataFeedProcess.getFilterString().This duplication protects the execution in case DataFeedProcessis mutated after this starts.- Returns:
- value matching DataFeedProcess.getFilterString()
 
- 
getContextStatepublic com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState getContextState()A subset ofTrackinginformation to expose the context state for this object.- Specified by:
- getContextStatein interface- com.broadleafcommerce.data.tracking.core.ContextStateAware
- Returns:
- a subset of Trackinginformation to expose the context state for this object
 
- 
setIdThe context ID of this execution.- Parameters:
- id- the id of this data feed execution
 
- 
setDataFeedProcessIdTheDataFeedProcess.getId()of theDataFeedProcesswhich this execution is for.- Parameters:
- dataFeedProcessId- the ID of the data feed process this execution is for
 
- 
setStartTimeThe time at which this execution started processing.- Parameters:
- startTime- the time at which this execution started processing
 
- 
setEndTimeThe time at which this execution stopped processing.- Parameters:
- endTime- the time at which this execution stopped processing
 
- 
setStatusShould contain a value fromDefaultDataFeedExecutionStatusesdescribing the current status of the execution.When this is being changed, be sure to update getStartTime()orgetEndTime()if appropriate.- Parameters:
- status- the current status of the execution
 
- 
setContainsErrorspublic void setContainsErrors(boolean containsErrors) A simple flag indicating whether the current execution encountered any errors.- Parameters:
- containsErrors- whether this execution experienced errors
- See Also:
 
- 
setErrorDetailsIf errors are encountered during the run of this execution (ex:isContainsErrors()is true), details should be added here. Otherwise, this will be empty.- Parameters:
- errorDetails- details about any errors experienced by this execution
- See Also:
 
- 
setQueriedDataFileLocationAfter the raw data is fetched, the execution will serialize and store it in a JSON file. This can then be used byDataFeedPublicationexecutions to transform + publish data.This field should contain the location of that file (including filename extension). This is usually something that can be directly passed to StorageService.
- 
setProcessTypeShould be copied fromDataFeedProcess.getProcessType().This duplication protects the execution in case DataFeedProcessis mutated after this starts.- Parameters:
- processType- value matching- DataFeedProcess.getProcessType()
 
- 
setDataFeedPublicationConfigurationIdspublic void setDataFeedPublicationConfigurationIds(List<String> dataFeedPublicationConfigurationIds) Should be copied fromDataFeedProcess.getDataFeedPublicationConfigurationIds().This duplication protects the execution in case DataFeedProcessis mutated after this starts.- Parameters:
- dataFeedPublicationConfigurationIds- value matching- DataFeedProcess.getDataFeedPublicationConfigurationIds()
 
- 
setApplicationIdShould be copied fromDataFeedProcess.getApplicationId().This duplication protects the execution in case DataFeedProcessis mutated after this starts.- Parameters:
- applicationId- value matching- DataFeedProcess.getApplicationId()
 
- 
setFilterStringShould be copied fromDataFeedProcess.getFilterString().This duplication protects the execution in case DataFeedProcessis mutated after this starts.- Parameters:
- filterString- value matching- DataFeedProcess.getFilterString()
 
- 
setContextStatepublic void setContextState(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState) A subset ofTrackinginformation to expose the context state for this object.- Specified by:
- setContextStatein interface- com.broadleafcommerce.data.tracking.core.ContextStateAware
- Parameters:
- contextState- a subset of- Trackinginformation to expose the context state for this object
 
- 
equals
- 
canEqual
- 
hashCodepublic int hashCode()
- 
toString
 
-